<!DOCTYPE html>
<html style="height:100%">
<head>
	<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>Space Company</title>
	<link href="SpaceCompanyFavicon.png" rel="shortcut icon" type="image/x-icon" />
	<link href="lib/bootstrap.min.css" rel="stylesheet" type="text/css" id="theme_css"/>
	<link href="lib/pnotify.custom.min.css" rel="stylesheet" type="text/css">
	<link href="https://fonts.googleapis.com/css?family=Orbitron" rel="stylesheet">
	<link href="style.css" rel="stylesheet">
	<script src='https://cdn1.kongregate.com/javascripts/kongregate_api.js'></script>
	<!-- <script>
		kongregateAPI.loadAPI(function(){
			window.kongregate = kongregateAPI.getAPI();
			console.log("KongregateAPI Loaded");
			// You can now access the Kongregate API with: kongregate.services.getUsername(), etc
			// Proceed with loading your game...
		});

	</script> -->
	<script>
	  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
	  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
	  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
	  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

	  ga('create', 'UA-75489477-2', 'auto');
	  ga('send', 'pageview');

	</script>
	
	
	<!-- Meta tags -->
	
	<!-- Use this for more embed options. go here https://oembed.com/ to see those options. -->
	<link type="application/json+oembed" href="https://sparticle999.github.io/SpaceCompany/oembed.json" />
	
    	<meta name="author" content="Sparticle999">
    	<meta name="title" content="Space Company">
    	<meta name="description" content="Space Company is a science-fiction incremental game where you start from humble beginnings on Earth, working your way up to travelling between star systems and building Dyson Spheres and pretty much colonising the entire galaxy(ies?)">
    	<meta content="Space Company" property="og:title">
    	<meta property="og:description" content="Space Company is a science-fiction incremental game where you start from humble beginnings on Earth, working your way up to travelling between star systems and building Dyson Spheres and pretty much colonising the entire galaxy(ies?)">
    	<meta content="Space Company" property="og:site_name">
    	<meta property="og:image" content="https://sparticle999.github.io/SpaceCompany/SpaceCompanyFavicon.png">
    	<meta name="twitter:card" value="summary">
    	<meta property="twitter:url" content="https://sparticle999.github.io/SpaceCompany">
    	<meta property="twitter:title" content="Space Company">
    	<meta property="twitter:description" content="Space Company is a science-fiction incremental game where you start from humble beginnings on Earth, working your way up to travelling between star systems and building Dyson Spheres and pretty much colonising the entire galaxy(ies?)">
    	<meta property="twitter:image" content="https://sparticle999.github.io/SpaceCompany/SpaceCompanyFavicon.png">
	
	<!-- When you put the link in discord, it uses this tag to color the stripe on the embed -->
    	<meta name="theme-color" content="#ffffff">
</head>
<body style="height:100%">
<div id="loadScreen" style="width:100%; height:100%; background-color: black">
	<div style="width:100%; height:3%"></div>
	<div style="width:70%; font-size:72px; font-family: 'Orbitron', 'sans-serif'; font-weight: lighter; color:#ffffff; line-height:72px; text-align:center; margin: auto;">
		Space Company
	<!-- </div>
	<div style="margin-left:31%; "> -->
		<br>
		<img id="loadLogo" style="opacity: 1; width:50%; height:50%;" src="whiteLogo.png">
		<br>
	</div>
	<div id="splashText" style="width:100%; font-size:40px; font-family: 'Orbitron', 'sans-serif'; font-weight: bold; color:#ffffff; line-height:40px; text-align:center;">
		Reticulating Splines...
	</div>
</div>
<script type="text/javascript" src="data/splashTextData.js"></script>
<div id="game" class="container hidden" style="width:95%; margin: auto;">

	<!--  Bar at top of screen -->
	<div class="navbar navbar-default ng-scope" role="navigation" ng-controller="HeaderCtrl">
		<div class="container">
			<div class="navbar-header" style="width:100%; height:50px">
				<a class="navbar-brand">
					<img src="SpaceCompanyFavicon.png" style="width:40px; height:auto; margin-top:-30%;">
				</a>
				<a class="navbar-brand page-title" href="#">
					<span id="companyName">Space</span> Company
				</a>
				<a class="navbar-brand" ng-href="" target="_blank" href="https://github.com/sparticle999/SpaceCompany#changelog">
					<span id="versionLabel" class="text-muted small ng-binding"></span>
				</a>
				<a class="navbar-brand">
					<span id="energyLow" class="text-muted small ng-binding red hidden">
						Energy Deficit!
					</span>
				</a>
				<a class="navbar-brand pointer" target="_blank" href="http://discord.gg/hgRUjVp">
					<span class="text-muted small">Join our Discord!</span>
				</a>
				<div class="pull-right" style="width:200px;">
					<a class="navbar-brand">
						<span id="autoSaveTimer" class="text-muted small ng-binding" style="font-size:14px;">

						</span>
					</a>
				</div>
			</div>
			<div class="navbar-right"><login><!-- ngIf: env.isServerFrontendEnabled --></login></div>
		</div>
		<div class="ng-binding"></div>
	</div>
	<div height="30"></div>
	<span id="updateBox"></span>

<!-- Nav tabs -->
	<ul class="nav nav-tabs no-select" role="tablist" id="tabList">
		<li role="presentation" class="active"><a href="#resources" aria-controls="resources" role="tab" data-toggle="tab" onclick="tabClicked('resources')"><div id="resourcesTabGlyph" class="glyphicon glyphicon-exclamation-sign hidden"></div> Resources</a></li>
		<li role="presentation" id="researchTab" class="hidden"><a href="#research" aria-controls="research" role="tab" data-toggle="tab" onclick="tabClicked('research')"><div id="researchTabGlyph" class="glyphicon glyphicon-exclamation-sign hidden"></div> Research</a></li>
    	<li role="presentation" id="solarSystemTab" class="hidden"><a href="#solarSystem" aria-controls="solarSystem" role="tab" data-toggle="tab"onclick="tabClicked('solarSystem')"><div id="solarSystemTabGlyph" class="glyphicon glyphicon-exclamation-sign hidden"></div> Solar System</a></li>
    	<li role="presentation" id="wonderTab" class="hidden"><a href="#wonder" aria-control="wonder" role="tab" data-toggle="tab"onclick="tabClicked('wonder')"><div id="wonderTabGlyph" class="glyphicon glyphicon-exclamation-sign hidden"></div> Wonders</a></li>
    	<li role="presentation" id="solCenterTopTab" class="hidden"><a href="#solCenterPage" aria-control="solCenterPage" role="tab" data-toggle="tab"onclick="tabClicked('solCenter')"><div id="solCenterTabGlyph" class="glyphicon glyphicon-exclamation-sign hidden"></div> Sol Center</a></li>
    	<li role="presentation" id="machineTopTab" style="display: none;"><a href="#machineTab" aria-control="machineTab" role="tab" data-toggle="tab"onclick="tabClicked('machine')"><div id="machineTabGlyph" class="glyphicon glyphicon-exclamation-sign hidden"></div> Machines</a></li>
    	<li role="presentation" class="pull-right"><a href="#help" aria-control="help" role="tab" data-toggle="tab"><div class="glyphicon glyphicon-info-sign"></div> Help / FAQ</a></li>
    	<li role="presentation" class="pull-right"><a href="#more" aria-control="more" role="tab" data-toggle="tab" onclick="tabClicked('more')"><div id="moreTabGlyph" class="glyphicon glyphicon-exclamation-sign hidden"></div> More...</a></li>
	</ul>


<!-- Tab panes -->

	<div class="tab-content" id="tabContent">
			<!-- Resources -->
		<div role="tabpanel" class="tab-pane fade in active" id="resources">
			<div class="container col-xs-1" style="width:380px; padding:0; float:left;">
				<table class="table table-hover text-primary no-select pointer" id="resourceNavParent">
					<tr id="plasmaNav" onclick="activeResourceTab('plasmaNav')" class="sideTab hidden" href="#plasmaTab" aria-controls="plasmaTab" role="tab" data-toggle="tab" style="height:60px;">
						<td style="border:none; vertical-align:middle;">
							<img src="Icons/plasmaIcon.png" style="width:30px; height:auto">
						</td>
						<td style="border:none; vertical-align:middle;">
							<span>
								Plasma
							</span>
						</td>
						<td style="border: none; vertical-align:middle; text-align:center;">
							<span>
								<span id="plasmaps">0</span>/Sec
							</span>
						</td>
						<td style="border:none; vertical-align:middle; text-align:right;">
							<span id="plasma">
								0
							</span>
							<span id="plasmaStorageBox" class="hidden">
								/
								<span id="plasmaStorage">100,000</span>
							</span>
						</td>
					</tr>
					<tr id="energyNav" onclick="activeResourceTab('energyNav')" class="sideTab hidden" href="#energyTab" aria-controls="energyTab" role="tab" data-toggle="tab" style="height:60px;">
						<td id="energyNav0" style="border:none; vertical-align:middle;">
							<img src="Icons/EnergyIcon.png" style="width:30px; height:auto">
						</td>
						<td id="energyNav1" style="border:none; vertical-align:middle;">
							<span>
								Energy
							</span>
						</td>
						<td id="energyNav2" style="border: none; vertical-align:middle; text-align:center;">
							<span>
								<span id="energyps">0</span>/Sec
							</span>
						</td>
						<td id="energyNav3" style="border:none; vertical-align:middle; text-align:right;">
							<span id="energy">
								0
							</span>
							<span id="energyStorageBox" class="hidden">
								/
								<span id="energyStorage">100,000</span>
							</span>
						</td>
					</tr>
					<tr id="uraniumNav" onclick="activeResourceTab('uraniumNav')" class="sideTab hidden" href="#uraniumTab" aria-controls="uraniumTab" role="tab" data-toggle="tab" style="height:60px;">
						<td style="vertical-align:middle;">
							<img src="Icons/uraniumIcon.png" style="width:30px; height:auto">
						</td>
						<td style="vertical-align:middle;">
							<span>
								Uranium
							</span>
						</td>
						<td style="vertical-align:middle; text-align:center;">
							<span>
								<span id="uraniumps">0</span>/Sec
							</span>
						</td>
						<td style="vertical-align:middle; text-align:right;">
							<span id="uranium">
								0
							</span>
							/
							<span id="uraniumStorage">50</span>
						</td>
					</tr>
					<tr id="lavaNav" onclick="activeResourceTab('lavaNav')" class="sideTab hidden" href="#lavaTab" aria-controls="lavaTab" role="tab" data-toggle="tab" style="height:60px;">
						<td style="vertical-align:middle;">
							<img src="Icons/lavaIcon.png" style="width:30px; height:auto">
						</td>
						<td style="vertical-align:middle;">
							<span>
								Lava
							</span>
						</td>
						<td style="vertical-align:middle; text-align:center;">
							<span>
								<span id="lavaps">0</span>/Sec
							</span>
						</td>
						<td style="vertical-align:middle; text-align:right;">
							<span id="lava">
								0
							</span>
							/
							<span id="lavaStorage">50</span>
						</td>
					</tr>
					<tr id="collapseEarth" class="collapseEarth" style="border:none;">
						<td colspan="4">
							<span>Earth Resources</span> <span class="caret"></span>
						</td>
					</tr>
					<tr id="oilNav" onclick="activeResourceTab('oilNav')" class="sideTab hidden" href="#oilTab" aria-controls="oilTab" role="tab" data-toggle="tab" style="height:60px;">
						<td id="oilNav0" style="vertical-align:middle;">
							<img src="Icons/oilIcon.png" style="width:30px; height:auto">
						</td>
						<td id="oilNav1" style="vertical-align:middle;">
							<span>
								Oil
							</span>
						</td>
						<td id="oilNav2" style="vertical-align:middle; text-align:center;">
							<span>
								<span id="oilps">0</span>/Sec
							</span>
						</td>
						<td id="oilNav3" style="vertical-align:middle; text-align:right;">
							<span id="oil">
								0
							</span>
							/
							<span id="oilStorage">50</span>
						</td>
					</tr>
					<tr id="metalNav" onclick="activeResourceTab('metalNav')" class="earth" href="#metalTab" aria-controls="metalTab" role="tab" data-toggle="tab" style="height:60px;">
						<td id="metalNav0" style="vertical-align:middle;">
							<img src="Icons/metalIcon.png" style="width:30px; height:auto">
						</td>
						<td id="metalNav1" style="vertical-align:middle;">
							<span>
								Metal
							</span>
						</td>
						<td id="metalNav2" style="vertical-align:middle; text-align:center;">
							<span>
								<span id="metalps">0</span>/Sec
							</span>
						</td>
						<td id="metalNav3" style="vertical-align:middle; text-align:right;">
							<span id="metal">
								0
							</span>
							/
							<span id="metalStorage">50</span>
						</td>
					</tr>
					<tr id="gemNav" onclick="activeResourceTab('gemNav')" class="earth" href="#gemTab" aria-controls="gemTab" role="tab" data-toggle="tab" style="height:60px;">
						<td style="vertical-align:middle;">
							<img src="Icons/gemIcon.png" style="width:30px; height:auto">
						</td>
						<td style="vertical-align:middle;">
							<span>
								Gems
							</span>
						</td>
						<td style="vertical-align:middle; text-align:center;">
							<span>
								<span id="gemps">0</span>/Sec
							</span>
						</td>
						<td style="vertical-align:middle; text-align:right;">
							<span id="gem">
								0
							</span>
							/
							<span id="gemStorage">50</span>
						</td>
					</tr>
					<tr id="charcoalNav" onclick="activeResourceTab('charcoalNav')" class="sideTab hidden" href="#charcoalTab" aria-controls="charcoalTab" role="tab" data-toggle="tab" style="height:60px;">
						<td style="vertical-align:middle;">
							<img src="Icons/charcoalIcon.png" style="width:30px; height:auto;">
						</td>
						<td style="vertical-align:middle;">
							<span>
								Charcoal
							</span>
						</td>
						<td style="vertical-align:middle; text-align:center;">
							<span>
								<span id="charcoalps">0</span>/Sec
							</span>
						</td>
						<td style="vertical-align:middle; text-align:right;">
							<span id="charcoal">
								0
							</span>
							/
							<span id="charcoalStorage">50</span>
						</td>
					</tr>
					<tr id="woodNav" onclick="activeResourceTab('woodNav')" class="earth" href="#woodTab" aria-controls="woodTab" role="tab" data-toggle="tab" style="height:60px;">
						<td style="vertical-align:middle;">
							<img src="Icons/woodIcon.png" style="width:30px; height:auto">
						</td>
						<td style="vertical-align:middle;">
							<span>
								Wood
							</span>
						</td>
						<td style="vertical-align:middle; text-align:center;">
							<span>
								<span id="woodps">0</span>/Sec
							</span>
						</td>
						<td style="vertical-align:middle; text-align:right;">
							<span id="wood">
								0
							</span>
							/
							<span id="woodStorage">50</span>
						</td>
					</tr>
					<tr id="siliconNav" onclick="activeResourceTab('siliconNav')" class="sideTab hidden" href="#siliconTab" aria-controls="siliconTab" role="tab" data-toggle="tab" style="height:60px;">
						<td style="vertical-align:middle;">
							<img src="Icons/siliconIcon.png" style="width:30px; height:auto">
						</td>
						<td style="vertical-align:middle;">
							<span>
								Silicon
							</span>
						</td>
						<td style="vertical-align:middle; text-align:center;">
							<span>
								<span id="siliconps">0</span>/Sec
							</span>
						</td>
						<td style="vertical-align:middle; text-align:right;">
							<span id="silicon">
								0
							</span>
							/
							<span id="siliconStorage">50</span>
						</td>
					</tr>
					<tr id="collapseInnerPlanet" class="collapseInnerPlanet hidden">
						<td colspan="4">
							<span>Inner Planetary Resources</span> <span class="caret"></span>
						</td>
					</tr>
					<tr id="lunariteNav" onclick="activeResourceTab('lunariteNav')" class="sideTab hidden" href="#lunariteTab" aria-controls="lunariteTab" role="tab" data-toggle="tab" style="height:60px;">
						<td style="vertical-align:middle;">
							<img src="Icons/lunariteIcon.png" style="width:30px; height:auto">
						</td>
						<td style="vertical-align:middle;">
							<span>
								Lunarite
							</span>
						</td>
						<td style="vertical-align:middle; text-align:center;">
							<span>
								<span id="lunariteps">0</span>/Sec
							</span>
						</td>
						<td style="vertical-align:middle; text-align:right;">
							<span id="lunarite">
								0
							</span>
							/
							<span id="lunariteStorage">50</span>
						</td>
					</tr>
					<tr id="methaneNav" onclick="activeResourceTab('methaneNav')" class="sideTab hidden" href="#methaneTab" aria-controls="methaneTab" role="tab" data-toggle="tab" style="height:60px;">
						<td style="vertical-align:middle;">
							<img src="Icons/methaneIcon.png" style="width:30px; height:auto">
						</td>
						<td style="vertical-align:middle;">
							<span>
								Methane
							</span>
						</td>
						<td style="vertical-align:middle; text-align:center;">
							<span>
								<span id="methaneps">0</span>/Sec
							</span>
						</td>
						<td style="vertical-align:middle; text-align:right;">
							<span id="methane">
								0
							</span>
							/
							<span id="methaneStorage">50</span>
						</td>
					</tr>
					<tr id="titaniumNav" onclick="activeResourceTab('titaniumNav')" class="sideTab hidden" href="#titaniumTab" aria-controls="titaniumTab" role="tab" data-toggle="tab" style="height:60px;">
						<td style="vertical-align:middle;">
							<img src="Icons/titaniumIcon.png" style="width:30px; height:auto">
						</td>
						<td style="vertical-align:middle;">
							<span>
								Titanium
							</span>
						</td>
						<td style="vertical-align:middle; text-align:center;">
							<span>
								<span id="titaniumps">0</span>/Sec
							</span>
						</td>
						<td style="vertical-align:middle; text-align:right;">
							<span id="titanium">
								0
							</span>
							/
							<span id="titaniumStorage">50</span>
						</td>
					</tr>
					<tr id="goldNav" onclick="activeResourceTab('goldNav')" class="sideTab hidden" href="#goldTab" aria-controls="goldTab" role="tab" data-toggle="tab" style="height:60px;">
						<td style="vertical-align:middle;">
							<img src="Icons/goldIcon.png" style="width:30px; height:auto">
						</td>
						<td style="vertical-align:middle;">
							<span>
								Gold
							</span>
						</td>
						<td style="vertical-align:middle; text-align:center;">
							<span>
								<span id="goldps">0</span>/Sec
							</span>
						</td>
						<td style="vertical-align:middle; text-align:right;">
							<span id="gold">
								0
							</span>
							/
							<span id="goldStorage">50</span>
						</td>
					</tr>
					<tr id="silverNav" onclick="activeResourceTab('silverNav')" class="sideTab hidden" href="#silverTab" aria-controls="silverTab" role="tab" data-toggle="tab" style="height:60px;">
						<td style="vertical-align:middle;">
							<img src="Icons/silverIcon.png" style="width:30px; height:auto">
						</td>
						<td style="vertical-align:middle;">
							<span>
								Silver
							</span>
						</td>
						<td style="vertical-align:middle; text-align:center;">
							<span>
								<span id="silverps">0</span>/Sec
							</span>
						</td>
						<td style="vertical-align:middle; text-align:right;">
							<span id="silver">
								0
							</span>
							/
							<span id="silverStorage">50</span>
						</td>
					</tr>
					<tr id="collapseOuterPlanet" class="collapseOuterPlanet hidden">
						<td colspan="4">
							<span>Outer Planetary Resources</span> <span class="caret"></span>
						</td>
					</tr>
					<tr id="hydrogenNav" onclick="activeResourceTab('hydrogenNav')" class="sideTab hidden" href="#hydrogenTab" aria-controls="hydrogenTab" role="tab" data-toggle="tab" style="height:60px;">
						<td style="vertical-align:middle;">
							<img src="Icons/hydrogenIcon.png" style="width:30px; height:auto">
						</td>
						<td style="vertical-align:middle;">
							<span>
								Hydrogen
							</span>
						</td>
						<td style="vertical-align:middle; text-align:center;">
							<span>
								<span id="hydrogenps">0</span>/Sec
							</span>
						</td>
						<td style="vertical-align:middle; text-align:right;">
							<span id="hydrogen">
								0
							</span>
							/
							<span id="hydrogenStorage">50</span>
						</td>
					</tr>
					<tr id="heliumNav" onclick="activeResourceTab('heliumNav')" class="sideTab hidden" href="#heliumTab" aria-controls="heliumTab" role="tab" data-toggle="tab" style="height:60px;">
						<td style="vertical-align:middle;">
							<img src="Icons/heliumIcon.png" style="width:30px; height:auto">
						</td>
						<td style="vertical-align:middle;">
							<span>
								Helium
							</span>
						</td>
						<td style="vertical-align:middle; text-align:center;">
							<span>
								<span id="heliumps">0</span>/Sec
							</span>
						</td>
						<td style="vertical-align:middle; text-align:right;">
							<span id="helium">
								0
							</span>
							/
							<span id="heliumStorage">50</span>
						</td>
					</tr>
					<tr id="iceNav" onclick="activeResourceTab('iceNav')" class="sideTab hidden" href="#iceTab" aria-controls="iceTab" role="tab" data-toggle="tab" style="height:60px;">
						<td style="vertical-align:middle;">
							<img src="Icons/iceIcon.png" style="width:30px; height:auto">
						</td>
						<td style="vertical-align:middle;">
							<span>
								Ice
							</span>
						</td>
						<td style="vertical-align:middle; text-align:center;">
							<span>
								<span id="iceps">0</span>/Sec
							</span>
						</td>
						<td style="vertical-align:middle; text-align:right;">
							<span id="ice">
								0
							</span>
							/
							<span id="iceStorage">50</span>
						</td>
					</tr>
					<tr id="meteoriteNav" onclick="activeResourceTab('meteoriteNav')" class="sideTab hidden" href="#meteoriteTab" aria-controls="meteoriteTab" role="tab" data-toggle="tab" style="height:60px;">
						<td style="vertical-align:middle;">
							<img src="Icons/meteoriteIcon.png" style="width:30px; height:auto">
						</td>
						<td style="vertical-align:middle;">
							<span>
								Meteorite
							</span>
						</td>
						<td style="vertical-align:middle; text-align:center;">
							<span>
								<span id="meteoriteps">0</span>/Sec
							</span>
						</td>
						<td style="vertical-align:middle; text-align:right;">
							<span id="meteorite">
								0
							</span>
							/
							<span id="meteoriteStorage">50</span>
						</td>
					</tr>
				</table>
			</div>
			<div class="tab-content" id="resourceTabParent" style="width:100%">
				<div id="plasmaTab" class="tab-pane fade in" style="margin-left:10px; width:100px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										Plasma
									</h2>
									<span>
										Plasma is the 4th state of matter and is used by Tier 4 machines and large space structures as an extreme power source for your company. At first you can hold 100,000 plasma at once, but you can unlock and purchase Plasma Storage Units to increase this number.
										<br>
										Time remaining until <span id="plasmaLimitType">full</span> storage: <b><span id="plasmaLimitTime">N/A</span></b>
										<br>
										1 Plasma is created by infusing <span id="manualPlasmaHydrogenCost">10</span> Hydrogen with <span id="manualPlasmaEnergyCost">1000</span> Energy.
									</span>
									<br>
									<br>
									<hide class="gainButton">
										<div onclick="gainResource('plasma')" class="btn btn-default">Gain <span id="plasmaGain">1</span></div>
										<br>
										<br>
									</hide>
								</td>
							</tr>
							<tr id="plasmaStorageUnits" class="hidden">
								<td>
									<h3 class="default btn-link">
										PSUs: <span id="PSU">0</span>
									</h3>
									<span>
										PSUs increase your plasma storage by 50,000 per PSU built.
										<br>
										Costs <span id="PSUSilverCost">770,000</span> Silver, <span id="PSUGoldCost">770,000</span> Gold, <span id="PSUUraniumCost">550,000</span> Uranium.
									</span>
									<br>
									<br>
									<button onclick="getPSU()" class="btn btn-default">Get PSU</button>
								</td>
							</tr>
							<tr id="plasmaStorageUnitsT2" class="hidden">
								<td>
									<h3 class="default btn-link">
										T2 PSUs: <span id="PSUT2">0</span>
									</h3>
									<span>
										Tier 2 PSUs increase your plasma storage by 500,000 per PSU built.
										<br>
										Costs <span id="PSUT2SilverCost">9.300M</span> Silver, <span id="PSUT2GoldCost">9.300M</span> Gold, <span id="PSUT2UraniumCost">6.800M</span> Uranium.
									</span>
									<br>
									<br>
									<button onclick="getPSUT2()" class="btn btn-default">Get PSU T2</button>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Super-Heater: <span id="heater">0</span>
									</h3>
									<span>
										The Super-Heater throws electricity at Hydrogen to turn it into a plasmatic substance.
										<br>
										Uses 1,000 Energy and 10 Hydrogen per second.
										<br>
										Produces 1 Plasma per second.
										<br>
										Costs <span id="heaterLunariteCost">75,000</span> Lunarite, <span id="heaterGemCost">68,000</span> Gems, <span id="heaterSiliconCost">59,000</span> Silicon.
									</span>
									<br>
									<br>
									<button onclick="getHeater()" class="btn btn-default">Get Super-Heater</button>
									<button onclick="toggleHeater()" class="btn btn-default">Turn Super-Heater <span id="heaterToggled">Off</span></button>
									<button onclick="destroyMachine('heater')" class="btn btn-default destroy hidden">Destroy Super-Heater</button>
								</td>
							</tr>
							<tr id="plasmaTier2" class="hidden">
								<td>
									<h3 class="default btn-link">
										Plasmatic Pit: <span id="plasmatic">0</span>
									</h3>
									<span>
										This contraption converts Helium into Plasma through firing intensive energy bolts at the gas cloud.
										<br>
										Uses 8,500 Energy and 80 Helium per second.
										<br>
										Produces 10 Plasma per second.
										<br>
										Costs <span id="plasmaticLunariteCost">810,000</span> Lunarite, <span id="plasmaticSiliconCost">720,000</span> Silicon, <span id="plasmaticMeteoriteCost">970</span> Meteorite.
									</span>
									<br>
									<br>
									<button onclick="getPlasmatic()" class="btn btn-default">Get Plasmatic Pit</button>
									<button onclick="togglePlasmatic()" class="btn btn-default">Turn Plasmatic Pit <span id="plasmaticToggled">Off</span></button>
									<button onclick="destroyMachine('plasmatic')" class="btn btn-default destroy hidden">Destroy Plasmatic Pit</button>
								</td>
							</tr>
							<tr id="plasmaTier3" class="hidden">
								<td>
									<h3 class="default btn-link">
										Electron Bath: <span id="bath">0</span>
									</h3>
									<span>
										Bathing in Electrons. What could go wrong?
										<br>
										Uses 15,000 Energy and 100 Helium and 100 Hydrogen per second.
										<br>
										Produces 140 Plasma per second.
										<br>
										Costs <span id="bathLavaCost">6.20M</span> Lava, <span id="bathGoldCost">5.90M</span> Gold, <span id="bathMeteoriteCost">12,100</span> Meteorite.
									</span>
									<br>
									<br>
									<button onclick="getBath()" class="btn btn-default">Get Electron Bath</button>
									<button onclick="toggleBath()" class="btn btn-default">Turn Electron Bath <span id="bathToggled">Off</span></button>
									<button onclick="destroyMachine('bath')" class="btn btn-default destroy hidden">Destroy Electron Bath</button>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="energyTab" class="tab-pane fade in" style="margin-left:10px; width:100px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										Energy
									</h2>
									<span>
										Energy is created by power sources such as steam engines, solar power and advances even to fusion power and nuclear energy. The maximum you can hold to start with is 100,000 Energy, but batteries are unlockable which can increase this.
										<br>
										Time remaining until <span id="energyLimitType">full</span> storage: <b><span id="energyLimitTime">N/A</span></b>
										<br>
									</span>
									<br>
									<button onclick="toggleEnergy()" class="btn btn-default">Toggle All Energy Production + Consumption</button>
								</td>
							</tr>
							<tr id="batteries" class="hidden">
								<td>
									<h3 class="default btn-link">
										Batteries: <span id="battery">0</span>
									</h3>
									<span>
										Batteries increase your energy storage by 50,000 per battery built.
										<br>
										Costs <span id="batteryMetalCost">50,000</span> Metal, <span id="batteryGemCost">50,000</span> Gems, <span id="batteryLunariteCost">30,000</span> Lunarite.
									</span>
									<br>
									<br>
									<button onclick="getBattery()" class="btn btn-default">Get Battery</button>
								</td>
							</tr>
							<tr id="batteriesT2" class="hidden">
								<td>
									<h3 class="default btn-link">
										T2 Batteries: <span id="batteryT2">0</span>
									</h3>
									<span>
										Tier 2 Batteries increase your energy storage by 500,000 per battery built.
										<br>
										Costs <span id="batteryT2MetalCost">550,000</span> Metal, <span id="batteryT2GemCost">550,000</span> Gems, <span id="batteryT2LunariteCost">330,000</span> Lunarite.
									</span>
									<br>
									<br>
									<button onclick="getBatteryT2()" class="btn btn-default">Get Battery T2</button>
								</td>
							</tr>
							<tr id="batteriesT3" class="hidden">
								<td>
									<h3 class="default btn-link">
										T3 Batteries: <span id="batteryT3">0</span>
									</h3>
									<span>
										Tier 3 Batteries increase your energy storage by 5,000,000 per battery built.
										<br>
										Costs <span id="batteryT3MetalCost">5,500,000</span> Metal, <span id="batteryT3GemCost">5,500,000</span> Gems, <span id="batteryT3LunariteCost">3,300,000</span> Lunarite.
									</span>
									<br>
									<br>
									<button onclick="getBatteryT3()" class="btn btn-default">Get Battery T3</button>
								</td>
							</tr>
							<tr id="batteriesT4" class="hidden">
								<td>
									<h3 class="default btn-link">
										T4 Batteries: <span id="batteryT4">0</span>
									</h3>
									<span>
										Tier 4 Batteries increase your energy storage by 50,000,000 per battery built.
										<br>
										Costs <span id="batteryT4MetalCost">55,000,000</span> Metal, <span id="batteryT4GemCost">55,000,000</span> Gems, <span id="batteryT4LunariteCost">33,000,000</span> Lunarite.
									</span>
									<br>
									<br>
									<button onclick="getBatteryT4()" class="btn btn-default">Get Battery T4</button>
								</td>
							</tr>
							<tr id="batteriesT5" class="hidden">
								<td>
									<h3 class="default btn-link">
										T5 Batteries: <span id="batteryT5">0</span>
									</h3>
									<span>
										Tier 5 Batteries increase your energy storage by 500,000,000 per battery built.
										<br>
										Costs <span id="batteryT5MetalCost">490,000,000</span> Metal, <span id="batteryT5GemCost">490,000,000</span> Gems, <span id="batteryT5LunariteCost">290,000,000</span> Lunarite.
									</span>
									<br>
									<br>
									<button onclick="getBatteryT5()" class="btn btn-default">Get Battery T5</button>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Charcoal Engine: <span id="charcoalEngine">0</span>
									</h3>
									<span>
										Burns Charcoal to produce a steady source of Energy.
										<br>
										Each engine produces <span id="charcoalEngineOutput">2</span> Energy and uses 1 Charcoal per second.
										<br>
										Costs <span id="charcoalEngineMetalCost">50</span> Metal, <span id="charcoalEngineGemCost">25</span> Gems.
									</span>
									<br>
									<br>
									<button onclick="getCharcoalEngine()" class="btn btn-default">Get Charcoal Engine</button>
									<button onclick="destroyMachine('charcoalEngine')" class="btn btn-default destroy hidden">Destroy Charcoal Engine</button>
								</td>
							</tr>
							<tr id="solarPower" class="hidden">
								<td>
									<h3 class="default btn-link">
										Solar Panels: <span id="solarPanel">0</span>
									</h3>
									<span>
										Gains Energy slowly from the sun without using any resources.
										<br>
										Each Solar Panel produces <span id="solarPanelOutput">1.5</span> Energy per second.
										<br>
										Costs <span id="solarPanelMetalCost">30</span> Metal, <span id="solarPanelGemCost">35</span> Gems.
									</span>
									<br>
									<br>
									<button onclick="getSolarPanel()" class="btn btn-default">Get Solar Panel</button>
									<button onclick="destroyMachine('solarPanel')" class="btn btn-default destroy hidden">Destroy Solar Panel</button>
								</td>
							</tr>
							<tr id="methanePower" class="hidden">
								<td>
									<h3 class="default btn-link">
										Methane Power Stations: <span id="methaneStation">0</span>
									</h3>
									<span>
										Burn powerful methane from Venus to satisfy all your power needs.
										<br>
										Each Power Station produces 23 Energy and uses 6 methane per second.
										<br>
										Costs <span id="methaneStationLunariteCost">110</span> Lunarite, <span id="methaneStationTitaniumCost">90</span> Titanium.
									</span>
									<br>
									<br>
									<button onclick="getMethaneStation()" class="btn btn-default">Get Methane Power Station</button>
									<button onclick="destroyMachine('methaneStation')" class="btn btn-default destroy hidden">Destroy Methane Station</button>
								</td>
							</tr>
							<tr id="nuclearPower" class="hidden">
								<td>
									<h3 class="default btn-link">
										Nuclear Power Stations: <span id="nuclearStation">0</span>
									</h3>
									<span>
										Uses fission to create large amounts of power.
										<br>
										Each Power Station produces 153 Energy and uses 7 uranium per second.
										<br>
										Costs <span id="nuclearStationLunariteCost">20,000</span> Lunarite, <span id="nuclearStationTitaniumCost">10,000</span> Titanium.
									</span>
									<br>
									<br>
									<button onclick="getNuclearStation()" class="btn btn-default">Get Nuclear Power Station</button>
									<button onclick="destroyMachine('nuclearStation')" class="btn btn-default destroy hidden">Destroy Nuclear Station</button>
								</td>
							</tr>
							<tr id="magmaticPower" class="hidden">
								<td>
									<h3 class="default btn-link">
										Magmatic Dynamo: <span id="magmatic">0</span>
									</h3>
									<span>
										The Magmatic Dynamo is a method of producing power by using lava as a fuel. Because of the extreme temperature of lava, a lot of Energy can be produced at once.
										<br>
										Each Power Station produces 191 Energy and uses 11 lava per second.
										<br>
										Costs <span id="magmaticLunariteCost">25,000</span> Lunarite, <span id="magmaticGemCost">30,000</span> Gems, <span id="magmaticSilverCost">20,000</span> Silver.
									</span>
									<br>
									<br>
									<button onclick="getMagmatic()" class="btn btn-default">Get Magmatic Dynamo</button>
									<button onclick="destroyMachine('magmatic')" class="btn btn-default destroy hidden">Destroy Magmatic Dynamo</button>
								</td>
							</tr>
							<tr id="fusionPower" class="hidden">
								<td>
									<h3 class="default btn-link">
										Fusion Reactor: <span id="fusionReactor">0</span>
									</h3>
									<span>
										In a fusion reaction, Energy is released when two light atomic nuclei are fused together to form one heavier atom. This is the same reaction that occurs in stars and produces a lot of power.
										<br>
										Each Power Station produces 273 Energy and uses 10 Hydrogen and 10 Helium per second.
										<br>
										Costs <span id="fusionReactorLunariteCost">30,000</span> Lunarite, <span id="fusionReactorTitaniumCost">20,000</span> Titanium, <span id="fusionReactorSiliconCost">15,000</span> Silicon.
									</span>
									<br>
									<br>
									<button onclick="getFusionReactor()" class="btn btn-default">Get Fusion Reactor</button>
									<button onclick="destroyMachine('fusionReactor')" class="btn btn-default destroy hidden">Destroy Fusion Reactor</button>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="uraniumTab" class="tab-pane fade in" style="margin-left:10px; width:100px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										Uranium
									</h2>
									<span>
										Uranium is used for nuclear power generation because when it is split, it releases huge amounts of Energy. For this reason, it is prominent in many advanced machines and for propulsion technology as it is useful for inter-star-system travel. Unfortunately, it is hard to get and it requires a lot of resources to radiation-proof equipment.
									</span>
									<hide class="gainButton">
									<br>
									<br>
									<div onclick="gainResource('uranium')" class="btn btn-default">Gain <span id="uraniumGain">1</span></div>
									</hide>
									<br>
									<br>
								</td>
							</tr>
							<tr id="uraniumStorageUpgrade">
								<td>
									<h3 class="default btn-link">
										Storage Upgrade
									</h3>
									<span>
										Upgrade your Uranium storage size to <span id="uraniumNextStorage">100</span>.
										<br>
										Time remaining until <span id="uraniumLimitType">full</span> storage: <b><span id="uraniumLimitTime">N/A</span></b>
										<br>
										Costs <span id="uraniumStorageCost">50</span> Uranium, <span id="uraniumStorageLunariteCost">20</span> Lunarite.
									</span>
									<br>
									<br>
									<button onclick="upgradeUraniumStorage()" class="btn btn-default">Upgrade Storage</button>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Grinder: <span id="grinder">0</span>
									</h3>
									<span>
										Pulverizes Uranium for easy transportation out of deep mineshafts.
										<br>
										Produces 1 Uranium per second.
										<br>
										Costs <span id="grinderTitaniumCost">2000</span> Titanium, <span id="grinderLunariteCost">4000</span> Lunarite, <span id="grinderGoldCost">2000</span> Gold.
									</span>
									<br>
									<br>
									<button onclick="getGrinder()" class="btn btn-default">Get Grinder</button>
									<button onclick="destroyMachine('grinder')" class="btn btn-default destroy hidden">Destroy Grinder</button>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Cubic Teleposer: <span id="cubic">0</span>
									</h3>
									<span>
										This teleposes blocks of rock from far underground to the surface so that Uranium can be mined more easily.
										<br>
										Produces 9 Uranium per second.
										<br>
										Uses 40 Energy per second.
										<br>
										Costs <span id="cubicUraniumCost">80</span> Uranium, <span id="cubicLunariteCost">10000</span> Lunarite, <span id="cubicOilCost">10000</span> Oil.
									</span>
									<br>
									<br>
									<button onclick="getCubic()" class="btn btn-default">Get Cubic Teleposer</button>
									<button onclick="destroyMachine('cubic')" class="btn btn-default destroy hidden">Destroy Cubic Teleposer</button>
								</td>
							</tr>
							<tr id="uraniumTier3" class="hidden">
								<td>
									<h3 class="default btn-link">
										Uranium Enricher: <span id="enricher">0</span>
									</h3>
									<span>
										The Enricher increases the quality of uranium mined and thus allows more of the uranium in rocks to be used in your company.
										<br>
										Produces 61 Uranium per second.
										<br>
										Uses 180 Energy per second.
										<br>
										Costs <span id="enricherLunariteCost">21,700</span> Lunarite, <span id="enricherTitaniumCost">23,000</span> Titanium, <span id="enricherSiliconCost">13,500</span> Silicon.
									</span>
									<br>
									<br>
									<button onclick="getEnricher()" class="btn btn-default">Get Uranium Enricher</button>
									<button onclick="destroyMachine('enricher')" class="btn btn-default destroy hidden">Destroy Uranium Enricher</button>
								</td>
							</tr>
							<tr id="uraniumTier4" class="hidden">
								<td>
									<h3 class="default btn-link">
										Yellowcake Recycler: <span id="recycler">0</span>
									</h3>
									<span>
										Recycles used-up Uranium to provide the resources with a second use. This greatly increases the amount of Uranium you can use per second.
										<br>
										Produces 235 Uranium per second.
										<br>
										Uses 463 Energy per second.
										<br>
										Costs <span id="recyclerLunariteCost">93,100</span> Lunarite, <span id="recyclerMethaneCost">47,000</span> Methane, <span id="recyclerMeteoriteCost">830</span> Meteorite.
									</span>
									<br>
									<br>
									<button onclick="getRecycler()" class="btn btn-default">Get Yellowcake Recycler</button>
									<button onclick="destroyMachine('recycler')" class="btn btn-default destroy hidden">Destroy Yellowcake Recycler</button>
								</td>
							</tr>
							<tr id="uraniumTier5" class="hidden">
								<td>
									<h3 class="default btn-link">
										Planetary Nuclear Plant: <span id="planetNuke">0</span>
									</h3>
									<span>
										This huge factory is as large as a planet, fusing together Uranium from common elements.
										<br>
										Produces 2412 Uranium per second.
										<br>
										Uses 2719 Energy per second.
										<br>
										Costs <span id='planetNukeTitaniumCost'>486000</span> Titanium, <span id='planetNukeSiliconCost'>266000</span> Silicon, <span id='planetNukeIceCost'>364000</span> Ice
									</span>
									<br>
									<br>
									<button onclick="getPlanetNuke()" class="btn btn-default">Get Planetary Nuclear Plant</button>
									<button onclick="destroyMachine('planetNuke')" class="btn btn-default destroy hidden">Destroy Planetary Nuclear Plant</button>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="oilTab" class="tab-pane fade in" style="margin-left:10px; width:100px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										Oil
									</h2>
									<span>
										Oil is pumped up from the ground and is used to build Tier 2 resource gatherers.
									</span>
									<hide class="gainButton">
									<br>
									<br>
									<div onclick="gainResource('oil')" class="btn btn-default">Gain <span id="oilGain">1</span></div>
									</hide>
								</td>
							</tr>
							<tr id="oilStorageUpgrade" class="hidden">
								<td>
									<h3 class="default btn-link">
										Storage Upgrade
									</h3>
									<span>
										Upgrade your Oil storage size to <span id="oilNextStorage">100</span>.
										<br>
										Time remaining until <span id="oilLimitType">full</span> storage: <b><span id="oilLimitTime">N/A</span></b>
										<br>
										Costs <span id="oilStorageCost">50</span> Oil, <span id="oilStorageMetalCost">20</span> Metal.
									</span>
									<br>
									<br>
									<button onclick="upgradeOilStorage()" class="btn btn-default">Upgrade Storage</button>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Small Pump: <span id="pump">0</span>
									</h3>
									<span>
										Build a small pump to extract Oil from the ground
										<br>
										Produces 1 Oil per second.
										<br>
										Costs <span id="pumpMetalCost">60</span> Metal, <span id="pumpGemCost">20</span> Gems.
									</span>
									<br>
									<br>
									<button onclick="getPump()" class="btn btn-default">Get Pump</button>
									<button onclick="destroyMachine('pump')" class="btn btn-default destroy hidden">Destroy Small Pump</button>
								</td>
							</tr>
							<tr id="oilTier2" class="hidden">
								<td>
									<h3 class="default btn-link">
										Pumpjack: <span id="pumpjack">0</span>
									</h3>
									<span>
										Pumpjacks are much bigger than small pumps and produce Oil on an industrial scale but they require a lot of Energy.
										<br>
										Each one produces <span id="pumpjackOutput">5</span> Oil for 4 Energy every second.
										<br>
										Costs <span id="pumpjackMetalCost">250</span> Metal, <span id="pumpjackGemCost">80</span> Gems, <span id="pumpjackOilCost">50</span> Oil.
									</span>
									<br>
									<br>
									<button onclick="getPumpjack()" class="btn btn-default">Get Pumpjack</button>
									<button onclick="destroyMachine('pumpjack')" class="btn btn-default destroy hidden">Destroy Pumpjack</button>
								</td>
							</tr>
							<tr id="oilTier3" class="hidden">
								<td>
									<h3 class="default btn-link">
										Oil Field: <span id="oilField">0</span>
									</h3>
									<span>
										Oil Fields are large open spaces, usually found in deserts where vast oil wells can be found under the ground.
										<br>
										Produces 63 Oil per second.
										<br>
										Uses 12 Energy per second.
										<br>
										Costs <span id="oilFieldLunariteCost">2,400</span> Lunarite, <span id="oilFieldTitaniumCost">2,700</span> Titanium, <span id="oilFieldSiliconCost">3,900</span> Silicon.
									</span>
									<br>
									<br>
									<button onclick="getOilField()" class="btn btn-default">Get Oil Field</button>
									<button onclick="destroyMachine('oilField')" class="btn btn-default destroy hidden">Destroy Oil Field</button>
								</td>
							</tr>
							<tr id="oilTier4" class="hidden">
								<td>
									<h3 class="default btn-link">
										Offshore Rig: <span id="oilRig">0</span>
									</h3>
									<span>
										Offshore Rigs are megastructures floating in the oceans, extracting Oil from under the sea-beds.
										<br>
										Produces 246 Oil per second.
										<br>
										Uses 44 Energy per second.
										<br>
										Costs <span id="oilRigLunariteCost">19,400</span> Lunarite, <span id="oilRigTitaniumCost">16,800</span> Titanium, <span id="oilRigMeteoriteCost">760</span> Meteorite.
									</span>
									<br>
									<br>
									<button onclick="getOilRig()" class="btn btn-default">Get Offshore Rig</button>
									<button onclick="destroyMachine('oilRig')" class="btn btn-default destroy hidden">Destroy Offshore Rig</button>
								</td>
							</tr>
							<tr id="oilTier5" class="hidden">
								<td>
									<h3 class="default btn-link">
										Fossilator 9000: <span id="fossilator">0</span>
									</h3>
									<span>
										Much better than the 8000 version, this fossilator reverses the fossil fuel cycle. Instead of burning, it creates them from carbon in the air.
										<br>
										Produces 2627 Oil per second.
										<br>
										Uses 258 Energy per second.
										<br>
										Costs <span id='fossilatorUraniumCost'>110000</span> Uranium, <span id='fossilatorCharcoalCost'>96000</span> Charcoal, <span id='fossilatorLavaCost'>167000</span> Lava.
									</span>
									<br>
									<br>
									<button onclick="getFossilator()" class="btn btn-default">Get Fossilator 9000</button>
									<button onclick="destroyMachine('fossilator')" class="btn btn-default destroy hidden">Destroy Fossilator 9000</button>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="metalTab" class="tab-pane fade in" style="margin-left:10px; width:100px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										Metal
									</h2>
									<span>
										Metal is one of the primary resources. It is used for many things, including storage upgrades, machinery and most things in space.
									</span>
									<hide class="gainButton">
									<br>
									<br>
									<div onclick="gainResource('metal')" class="btn btn-default">Gain <span id="metalGain">1</span></div>
									</hide>
									<br>
									<br>
								</td>
							</tr>
							<tr id="metalStorageUpgrade" class="hidden">
								<td>
									<h3 class="default btn-link">
										Storage Upgrade
									</h3>
									<span>
										Upgrade your Metal storage size to <span id="metalNextStorage">100</span>.
										<br>
										Time remaining until <span id="metalLimitType">full</span> storage: <b><span id="metalLimitTime">N/A</span></b>
										<br>
										Costs <span id="metalStorageCost">50</span> Metal.
									</span>
									<br>
									<br>
									<button onclick="upgradeMetalStorage()" class="btn btn-default">Upgrade Storage</button>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Miner: <span id="miner">0</span>
									</h3>
									<span>
										Build a pickaxe for your miner.
										<br>
										Produces 1 Metal per second.
										<br>
										Costs <span id="minerMetalCost">10</span> Metal, <span id="minerWoodCost">5</span> Wood.
									</span>
									<br>
									<br>
									<button onclick="getMiner()" class="btn btn-default">Get Miner</button>
									<button onclick="destroyMachine('miner')" class="btn btn-default destroy hidden">Destroy Miner</button>
								</td>
							</tr>
							<tr id="metalTier2" class="hidden">
								<td>
									<h3 class="default btn-link">
										Heavy Drill: <span id="heavyDrill">0</span>
									</h3>
									<span>
										Heavy Drills mine Metal at mass.
										<br>
										They produce <span id="heavyDrillOutput">8</span> Metal per second.
										<br>
										They use 2 Energy per second.
										<br>
										Costs <span id="heavyDrillMetalCost">160</span> Metal, <span id="heavyDrillGemCost">60</span> Gems, <span id="heavyDrillOilCost">50</span> Oil.
									</span>
									<br>
									<br>
									<button onclick="getHeavyDrill()" class="btn btn-default">Get Heavy Drill</button>
									<button onclick="destroyMachine('heavyDrill')" class="btn btn-default destroy hidden">Destroy Heavy Drill</button>
								</td>
							</tr>
							<tr id="metalTier3" class="hidden">
								<td>
									<h3 class="default btn-link">
										Giga Drill: <span id="gigaDrill">0</span>
									</h3>
									<span>
										Giga Drills extract Metal at colossal speeds.
										<br>
										They produce 108 Metal per second.
										<br>
										They use 9 Energy per second.
										<br>
										Costs <span id="gigaDrillLunariteCost">2,800</span> Lunarite, <span id="gigaDrillGemCost">3,400</span> Gems, <span id="gigaDrillSiliconCost">4,100</span> Silicon.
									</span>
									<br>
									<br>
									<button onclick="getGigaDrill()" class="btn btn-default">Get Giga Drill</button>
									<button onclick="destroyMachine('gigaDrill')" class="btn btn-default destroy hidden">Destroy Giga Drill</button>
								</td>
							</tr>
							<tr id="metalTier4" class="hidden">
								<td>
									<h3 class="default btn-link">
										Quantum Drill: <span id="quantumDrill">0</span>
									</h3>
									<span>
										Quantum Drills bend the space-time continuum to get metal faster than conventional methods.
										<br>
										They produce 427 Metal per second.
										<br>
										They use 24 Energy per second.
										<br>
										Costs <span id="quantumDrillLunariteCost">29,000</span> Lunarite, <span id="quantumDrillGoldCost">18,700</span> Gold, <span id="quantumDrillMeteoriteCost">900</span> Meteorite.
									</span>
									<br>
									<br>
									<button onclick="getQuantumDrill()" class="btn btn-default">Get Quantum Drill</button>
									<button onclick="destroyMachine('quantumDrill')" class="btn btn-default destroy hidden">Destroy Quantum Drill</button>
								</td>
							</tr>
							<tr id="metalTier5" class="hidden">
								<td>
									<h3 class="default btn-link">
										Multiverse Drill: <span id="multiDrill">0</span>
									</h3>
									<span>
										Drills metal from alternate realities where metal is plentiful .
										<br>
										They produce 4768 Metal per second.
										<br>
										They use 131 Energy per second.
										<br>
										Costs <span id='multiDrillTitaniumCost'>184000</span> Titanium, <span id='multiDrillGoldCost'>133000</span> Gold, <span id='multiDrillOilCost'>170000</span> Oil.
									</span>
									<br>
									<br>
									<button onclick="getMultiDrill()" class="btn btn-default">Get Multiverse Drill</button>
									<button onclick="destroyMachine('multiDrill')" class="btn btn-default destroy hidden">Destroy Multiverse Drill</button>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="gemTab" class="tab-pane fade in" style="margin-left:10px; width:100px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										Gems
									</h2>
									<span>
										Gems are one of the primary resources. They are used for advanced machines and for powerful tools and components. They are more useful in later game.
									</span>
									<hide class="gainButton">
									<br>
									<br>
									<div onclick="gainResource('gem')" class="btn btn-default">Gain <span id="gemGain">1</span></div>
									</hide>
									<br>
									<br>
								</td>
							</tr>
							<tr id="gemStorageUpgrade" class="hidden">
								<td>
									<h3 class="default btn-link">
										Storage Upgrade
									</h3>
									<span>
										Upgrade your gem storage size to <span id="gemNextStorage">100</span>.
										<br>
										Time remaining until <span id="gemLimitType">full</span> storage: <b><span id="gemLimitTime">N/A</span></b>
										<br>
										Costs <span id="gemStorageCost">50</span> Gems, <span id="gemStorageMetalCost">20</span> Metal.
									</span>
									<br>
									<br>
									<button onclick="upgradeGemStorage()" class="btn btn-default">Upgrade Storage</button>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Gem Miner: <span id="gemMiner">0</span>
									</h3>
									<span>
										Build an improved pickaxe to mine Gems.
										<br>
										Produces 1 gem per second.
										<br>
										Costs <span id="gemMinerMetalCost">15</span> Metal, <span id="gemMinerGemCost">10</span> Gems.
									</span>
									<br>
									<br>
									<button onclick="getGemMiner()" class="btn btn-default">Get Gem Miner</button>
									<button onclick="destroyMachine('gemMiner')" class="btn btn-default destroy hidden">Destroy Gem Miner</button>
								</td>
							</tr>
							<tr id="gemTier2" class="hidden">
								<td>
									<h3 class="default btn-link">
										Advanced Drill: <span id="advancedDrill">0</span>
									</h3>
									<span>
										Advanced Drills mine gem at mass. Because of the toughness of the drill needed it is slower than the heavy drill.
										<br>
										Produces <span id="advancedDrillOutput">4</span> Gems per second.
										<br>
										Uses 2 Energy per second.
										<br>
										Costs <span id="advancedDrillMetalCost">120</span> Metal, <span id="advancedDrillGemCost">200</span> Gems, <span id="advancedDrillOilCost">60</span> Oil.
									</span>
									<br>
									<br>
									<button onclick="getAdvancedDrill()" class="btn btn-default">Get Advanced Drill</button>
									<button onclick="destroyMachine('advancedDrill')" class="btn btn-default destroy hidden">Destroy Advanced Drill</button>
								</td>
							</tr>
							<tr id="gemTier3" class="hidden">
								<td>
									<h3 class="default btn-link">
										Diamond Encrusted Drill: <span id="diamondDrill">0</span>
									</h3>
									<span>
										The Diamond Encrusted Drill is the best drill possible that can be made on Earth, meaning it produces Gems at intense speeds.
										<br>
										Produces 89 Gems per second.
										<br>
										Uses 15 Energy per second.
										<br>
										Costs <span id="diamondDrillLunariteCost">3,400</span> Lunarite, <span id="diamondDrillGemCost">8,000</span> Gems, <span id="diamondDrillSiliconCost">4,500</span> Silicon.
									</span>
									<br>
									<br>
									<button onclick="getDiamondDrill()" class="btn btn-default">Get Diamond Drill</button>
									<button onclick="destroyMachine('diamondDrill')" class="btn btn-default destroy hidden">Destroy Diamond Drill</button>
								</td>
							</tr>
							<tr id="gemTier4" class="hidden">
								<td>
									<h3 class="default btn-link">
										Carbyne Drill: <span id="carbyneDrill">0</span>
									</h3>
									<span>
										Carbyne Drills are one of the strongest drills in the solar system, and as such, can collect Gems faster than anything before it.
										<br>
										Produces 358 Gems per second.
										<br>
										Uses 40 Energy per second.
										<br>
										Costs <span id="carbyneDrillLunariteCost">21,000</span> Lunarite, <span id="carbyneDrillGemCost">27,000</span> Gems, <span id="carbyneDrillMeteoriteCost">800</span> Meteorite.
									</span>
									<br>
									<br>
									<button onclick="getCarbyneDrill()" class="btn btn-default">Get Carbyne Drill</button>
									<button onclick="destroyMachine('carbyneDrill')" class="btn btn-default destroy hidden">Destroy Carbyne Drill</button>
								</td>
							</tr>
							<tr id="gemTier5" class="hidden">
								<td>
									<h3 class="default btn-link">
										Diamond Accretion Chamber: <span id="diamondChamber">0</span>
									</h3>
									<span>
										This special container condenses carbon dioxide gas into diamonds, creating gems at a faster rate than any drill.
										<br>
										Produces 3747 Gems per second.
										<br>
										Uses 260 Energy per second.
										<br>
										Costs <span id='diamondChamberUraniumCost'>181,000</span> Uranium, <span id='diamondChamberCharcoalCost'>185,000</span> Charcoal, <span id='diamondChamberMeteoriteCost'>12,500</span> Meteorite.
									</span>
									<br>
									<br>
									<button onclick="getDiamondChamber()" class="btn btn-default">Get Diamond Accretion Chamber</button>
									<button onclick="destroyMachine('diamondChamber')" class="btn btn-default destroy hidden">Destroy Diamond Accretion Chamber</button>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="charcoalTab" class="tab-pane fade in" style="margin-left:10px; width:100px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										Charcoal
									</h2>
									<span>
										Charcoal is a secondary tier resource and is used by Engines to produce power for your company. 1 Charcoal is created by burning <span id="manualCharcoalCost">2</span> wood.
										<br>
									</span>
									<br>
									<hide class="gainButton">
									<div onclick="gainResource('charcoal')" class="btn btn-default">Convert <span id="charcoalGain">1</span></div>
									</hide>
									<button onclick="toggleCharcoal()" class="btn btn-default">Turn Charcoal Production <span id="charcoalToggled">Off</span></button>
									<br>
									<br>
								</td>
							</tr>
							<tr id="charcoalStorageUpgrade" class="hidden">
								<td>
									<h3 class="default btn-link">
										Storage Upgrade
									</h3>
									<span>
										Upgrade your Charcoal storage size to <span id="charcoalNextStorage">100</span>.
										<br>
										Time remaining until <span id="charcoalLimitType">full</span> storage: <b><span id="charcoalLimitTime">N/A</span></b>
										<br>
										Costs <span id="charcoalStorageCost">50</span> Charcoal, <span id="charcoalStorageMetalCost">20</span> Metal.
									</span>
									<br>
									<br>
									<button onclick="upgradeCharcoalStorage()" class="btn btn-default">Upgrade Storage</button>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Woodburner: <span id="woodburner">0</span>
									</h3>
									<span>
										Build a shovel for your woodburner.
										<br>
										Produces 1 Charcoal per second.
										<br>
										Uses 2 wood per second.
										<br>
										Costs <span id="woodburnerMetalCost">10</span> Metal, <span id="woodburnerWoodCost">5</span> Wood.
									</span>
									<br>
									<br>
									<button onclick="getWoodburner()" class="btn btn-default">Get Woodburner</button>
									<button onclick="destroyMachine('woodburner')" class="btn btn-default destroy hidden">Destroy Woodburner</button>
								</td>
							</tr>
							<tr id="charcoalTier2" class="hidden">
								<td>
									<h3 class="default btn-link">
										Furnace: <span id="furnace">0</span>
									</h3>
									<span>
										Furnaces use electric heaters to produce heat to turn Wood into Charcoal. Because of the increased heat, the process is more efficient.
										<br>
										Produces <span id="furnaceOutput">4</span> Charcoal per second.
										<br>
										Uses <span id="furnaceWoodInput">6</span> Wood per second.
										<br>
										Uses 3 Energy per second.
										<br>
										Costs <span id="furnaceMetalCost">80</span> Metal, <span id="furnaceWoodCost">40</span> Wood, <span id="furnaceOilCost">100</span> Oil.
									</span>
									<br>
									<br>
									<button onclick="getFurnace()" class="btn btn-default">Get Furnace</button>
									<button onclick="destroyMachine('furnace')" class="btn btn-default destroy hidden">Destroy Furnace</button>
								</td>
							</tr>
							<tr id="charcoalTier3" class="hidden">
								<td>
									<h3 class="default btn-link">
										Industrial Kiln: <span id="kiln">0</span>
									</h3>
									<span>
										These large kilns are much more effective than previous methods of creating charcoal and use less wood to make the same amount as a furnace.
										<br>
										Produces 53 Charcoal per second.
										<br>
										Uses 56 Wood per second.
										<br>
										Uses 13 Energy per second.
										<br>
										Costs <span id="kilnLunariteCost">3,500</span> Lunarite, <span id="kilnGemCost">6,200</span> Gems, <span id="kilnSiliconCost">3,800</span> Silicon.
									</span>
									<br>
									<br>
									<button onclick="getKiln()" class="btn btn-default">Get Industrial Kiln</button>
									<button onclick="destroyMachine('kiln')" class="btn btn-default destroy hidden">Destroy Industrial Kiln</button>
								</td>
							</tr>
							<tr id="charcoalTier4" class="hidden">
								<td>
									<h3 class="default btn-link">
										Forest Fryer: <span id="fryer">0</span>
									</h3>
									<span>
										Forests? What forests?
										<br>
										Produces 210 Charcoal per second.
										<br>
										Uses 148 Wood per second.
										<br>
										Uses 34 Energy per second.
										<br>
										Costs <span id="fryerLunariteCost">15,800</span> Lunarite, <span id="fryerLavaCost">12,500</span> Lava, <span id="fryerMeteoriteCost">560</span> Meteorite.
									</span>
									<br>
									<br>
									<button onclick="getFryer()" class="btn btn-default">Get Forest Fryer</button>
									<button onclick="destroyMachine('fryer')" class="btn btn-default destroy hidden">Destroy Forest Fryer</button>
								</td>
							</tr>
							<tr id="charcoalTier5" class="hidden">
								<td>
									<h3 class="default btn-link">
										Microverse Pollutor: <span id="microPollutor">0</span>
									</h3>
									<span>
										Using Nano-technology, tiny universes can be created, filled with toxic gases from charcoal production and simply deleted. Cross-dimensional pollution at a completely new level!
										<br>
										Produces 2267 Charcoal per second.
										<br>
										Uses 950 Wood per second.
										<br>
										Uses 187 Energy per second.
										<br>
										Costs <span id='microPollutorMetalCost'>133000</span> Metal, <span id='microPollutorWoodCost'>189000</span> Wood, <span id='microPollutorLavaCost'>160000</span> Lava.
									</span>
									<br>
									<br>
									<button onclick="getMicroPollutor()" class="btn btn-default">Get Microverse Pollutor</button>
									<button onclick="destroyMachine('microPollutor')" class="btn btn-default destroy hidden">Destroy Microverse Pollutor</button>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="woodTab" class="tab-pane fade in" style="margin-left:10px; width:100px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										Wood
									</h2>
									<span>
										Wood is one of the primary resources. It is used more often in early game for tools and buildings.
									</span>
									<hide class="gainButton">
									<br>
									<br>
									<div onclick="gainResource('wood')" class="btn btn-default">Gain <span id="woodGain">1</span></div>
									</hide>
									<br>
									<br>
								</td>
							</tr>
							<tr id="woodStorageUpgrade" class="hidden">
								<td>
									<h3 class="default btn-link">
										Storage Upgrade
									</h3>
									<span>
										Upgrade your wood storage size to <span id="woodNextStorage">100</span>.
										<br>
										Time remaining until <span id="woodLimitType">full</span> storage: <b><span id="woodLimitTime">N/A</span></b>
										<br>
										Costs <span id="woodStorageCost">50</span> wood, <span id="woodStorageMetalCost">20</span> Metal.
									</span>
									<br>
									<br>
									<button onclick="upgradeWoodStorage()" class="btn btn-default">Upgrade Storage</button>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Woodcutter: <span id="woodcutter">0</span>
									</h3>
									<span>
										Build an axe for your woodcutter.
										<br>
										Produces 1 wood per second.
										<br>
										Costs <span id="woodcutterMetalCost">10</span> Metal, <span id="woodcutterWoodCost">5</span> Wood.
									</span>
									<br>
									<br>
									<button onclick="getWoodcutter()" class="btn btn-default">Get Woodcutter</button>
									<button onclick="destroyMachine('woodcutter')" class="btn btn-default destroy hidden">Destroy Woodcutter</button>
								</td>
							</tr>
							<tr id="woodTier2" class="hidden">
								<td>
									<h3 class="default btn-link">
										Laser Cutter: <span id="laserCutter">0</span>
									</h3>
									<span>
										Laser Cutters slice trees (and fingers) more quickly than axes and produce a lot more wood.
										<br>
										Produces <span id="laserCutterOutput">6</span> wood per second.
										<br>
										Uses 4 Energy per second.
										<br>
										Costs <span id="laserCutterMetalCost">50</span> Metal, <span id="laserCutterGemCost">90</span> Gems, <span id="laserCutterOilCost">40</span> Oil.
									</span>
									<br>
									<br>
									<button onclick="getLaserCutter()" class="btn btn-default">Get Laser Cutter</button>
									<button onclick="destroyMachine('laserCutter')" class="btn btn-default destroy hidden">Destroy Laser Cutter</button>
								</td>
							</tr>
							<tr id="woodTier3" class="hidden">
								<td>
									<h3 class="default btn-link">
										Mass Deforester: <span id="deforester">0</span>
									</h3>
									<span>
										This machine is the reason we're losing our rainforests. At least we get lots of wood!
										<br>
										Produces <span id="deforesterOutput">74</span> wood per second.
										<br>
										Uses 16 Energy per second.
										<br>
										Costs <span id="deforesterLunariteCost">3,000</span> Lunarite, <span id="deforesterTitaniumCost">2,700</span> Titanium, <span id="deforesterSiliconCost">2,500</span> Silicon.
									</span>
									<br>
									<br>
									<button onclick="getDeforester()" class="btn btn-default">Get Mass Deforester</button>
									<button onclick="destroyMachine('deforester')" class="btn btn-default destroy hidden">Destroy Mass Deforester</button>
								</td>
							</tr>
							<tr id="woodTier4" class="hidden">
								<td>
									<h3 class="default btn-link">
										Biomass Infuser: <span id="infuser">0</span>
									</h3>
									<span>
										Creates Wood using old, useless materials found everywhere on Earth by crushing them and packing what remains as densely as possible until it can be used as Wood again.
										<br>
										Produces 297 wood per second.
										<br>
										Uses 43 Energy per second.
										<br>
										Costs <span id="infuserLunariteCost">16,000</span> Lunarite, <span id="infuserOilCost">31,200</span> Oil, <span id="infuserMeteoriteCost">490</span> Meteorite.
									</span>
									<br>
									<br>
									<button onclick="getInfuser()" class="btn btn-default">Get Biomass Infuser</button>
									<button onclick="destroyMachine('infuser')" class="btn btn-default destroy hidden">Destroy Biomass Infuser</button>
								</td>
							</tr>
							<tr id="woodTier5" class="hidden">
								<td>
									<h3 class="default btn-link">
										Russian Forest: <span id="forest">0</span>
									</h3>
									<span>
										The great Russian forests span thousands of miles. More than enough for at least your lifetime. Let the younger generation deal with running out.
										<br>
										Produces 3278 wood per second.
										<br>
										Uses 244 Energy per second.
										<br>
										Costs <span id='forestMetalCost'>122000</span> Metal, <span id='forestGemCost'>151000</span> Gems, <span id='forestHydrogenCost'>183000</span> Hydrogen.
									</span>
									<br>
									<br>
									<button onclick="getForest()" class="btn btn-default">Get Russian Forest</button>
									<button onclick="destroyMachine('forest')" class="btn btn-default destroy hidden">Destroy Russian Forest</button>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="siliconTab" class="tab-pane fade in" style="margin-left:10px; width:100px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										Silicon
									</h2>
									<span>
										Silicon is useful for automatic mining systems of the third tier. These will be very useful in building your first wonder. Despite being a high tier resource, it is found mainly on Earth by heating sand.
									</span>
									<hide class="gainButton">
									<br>
									<br>
									<div onclick="gainResource('silicon')" class="btn btn-default">Gain <span id="siliconGain">1</span></div>
									</hide>
									<br>
									<br>
								</td>
							</tr>
							<tr id="siliconStorageUpgrade">
								<td>
									<h3 class="default btn-link">
										Storage Upgrade
									</h3>
									<span>
										Upgrade your Silicon storage size to <span id="siliconNextStorage">100</span>.
										<br>
										Time remaining until <span id="siliconLimitType">full</span> storage: <b><span id="siliconLimitTime">N/A</span></b>
										<br>
										Costs <span id="siliconStorageCost">50</span> Silicon, <span id="siliconStorageLunariteCost">20</span> Lunarite.
									</span>
									<br>
									<br>
									<button onclick="upgradeSiliconStorage()" class="btn btn-default">Upgrade Storage</button>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Empowered Blowtorch: <span id="blowtorch">0</span>
									</h3>
									<span>
										This type of blowtorch instantly turns sand into Silicon, but only on a small scale. To make it, extraterrestrial resources are required.
										<br>
										Produces 1 silicon per second.
										<br>
										Costs <span id="blowtorchLunariteCost">150</span> Lunarite, <span id="blowtorchTitaniumCost">30</span> Titanium.
									</span>
									<br>
									<br>
									<button onclick="getBlowtorch()" class="btn btn-default">Get Blowtorch</button>
									<button onclick="destroyMachine('blowtorch')" class="btn btn-default destroy hidden">Destroy Empowered Blowtorch</button>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Seaside Scorcher: <span id="scorcher">0</span>
									</h3>
									<span>
										This tool almost melts parts of beaches to get silicon at a larger scale.
										<br>
										Produces 9 silicon per second.
										<br>
										Uses 18 Energy per second.
										<br>
										Costs <span id="scorcherLunariteCost">500</span> Lunarite, <span id="scorcherGemCost">1,200</span> Gems, <span id="scorcherOilCost">1,600</span> Oil.
									</span>
									<br>
									<br>
									<button onclick="getScorcher()" class="btn btn-default">Get Seaside Scorcher</button>
									<button onclick="destroyMachine('scorcher')" class="btn btn-default destroy hidden">Destroy Scorcher</button>
								</td>
							</tr>
							<tr id="siliconTier3" class="hidden">
								<td>
									<h3 class="default btn-link">
										Beach Annihilator: <span id="annihilator">0</span>
									</h3>
									<span>
										This weapon of mass destruction has been re-labelled and now hovers above coast-lines, or what is now left of them.
										<br>
										Produces 40 silicon per second.
										<br>
										Uses 53 Energy per second.
										<br>
										Costs <span id="annihilatorLunariteCost">3,000</span> Lunarite, <span id="annihilatorGemCost">8,300</span> Gems, <span id="annihilatorSilverCost">2,400</span> Silver.
									</span>
									<br>
									<br>
									<button onclick="getAnnihilator()" class="btn btn-default">Get Annihilator</button>
									<button onclick="destroyMachine('annihilator')" class="btn btn-default destroy hidden">Destroy Beach Annihilator</button>
								</td>
							</tr>
							<tr id="siliconTier4" class="hidden">
								<td>
									<h3 class="default btn-link">
										Desert Destroyer: <span id="desert">0</span>
									</h3>
									<span>
										This large ship orbits around the planet, focused on the Sahara Desert, tearing up sand from Earth and turning it into Silicon under intense heat.
										<br>
										Produces 157 silicon per second.
										<br>
										Uses 138 Energy per second.
										<br>
										Costs <span id="desertLunariteCost">20,000</span> Lunarite, <span id="desertSiliconCost">17,700</span> Silicon, <span id="desertMeteoriteCost">400</span> Meteorite.
									</span>
									<br>
									<br>
									<button onclick="getDesert()" class="btn btn-default">Get Desert Destroyer</button>
									<button onclick="destroyMachine('desert')" class="btn btn-default destroy hidden">Destroy Desert Destroyer</button>
								</td>
							</tr>
							<tr id="siliconTier5" class="hidden">
								<td>
									<h3 class="default btn-link">
										Time And Relative Dimensions In Sand: <span id="tardis">0</span>
									</h3>
									<span>
										The TARDIS, for short, harnesses the power of stars from far away in space-time to heat sand into Silicon at record speeds. 
										<br>
										Produces 1487 silicon per second.
										<br>
										Uses 746 Energy per second.
										<br>
										Costs <span id='tardisTitaniumCost'>204000</span> Titanium, <span id='tardisSiliconCost'>205000</span> Silicon, <span id='tardisMeteoriteCost'>17800</span> Meterorite.
									</span>
									<br>
									<br>
									<button onclick="getTardis()" class="btn btn-default">Get T.A.R.D.I.S.</button>
									<button onclick="destroyMachine('tardis')" class="btn btn-default destroy hidden">Destroy T.A.R.D.I.S.</button>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="lunariteTab" class="tab-pane fade in" style="margin-left:10px; width:100px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										Lunarite
									</h2>
									<span>
										Lunarite is found on the Moon and is a rare type of resource not found on Earth. It is much stronger than regular metal but is a lot harder to get.
									</span>
									<hide class="gainButton">
									<br>
									<br>
									<div onclick="gainResource('lunarite')" class="btn btn-default">Gain <span id="lunariteGain">1</span></div>
									</hide>
									<br>
									<br>
								</td>
							</tr>
							<tr id="lunariteStorageUpgrade">
								<td>
									<h3 class="default btn-link">
										Storage Upgrade
									</h3>
									<span>
										Upgrade your Lunarite storage size to <span id="lunariteNextStorage">100</span>.
										<br>
										Time remaining until <span id="lunariteLimitType">full</span> storage: <b><span id="lunariteLimitTime">N/A</span></b>
										<br>
										Costs <span id="lunariteStorageCost">50</span> Lunarite, <span id="lunariteStorageMetalCost">200</span> Metal.
									</span>
									<br>
									<br>
									<button onclick="upgradeLunariteStorage()" class="btn btn-default">Upgrade Storage</button>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Native Moon Worker: <span id="moonWorker">0</span>
									</h3>
									<span>
										Bribe local workers to mine your Lunarite.
										<br>
										Produces 1 Lunarite per second.
										<br>
										Costs <span id="moonWorkerGemCost">500</span> Gems.
									</span>
									<br>
									<br>
									<button onclick="getMoonWorker()" class="btn btn-default">Get Moon Worker</button>
									<button onclick="destroyMachine('moonWorker')" class="btn btn-default destroy hidden">Fire Moon Worker</button>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Low-Gravity Drill: <span id="moonDrill">0</span>
									</h3>
									<span>
										These drills practically float!
										<br>
										Produces 10 Lunarite per second.
										<br>
										Uses 20 Energy per second.
										<br>
										Costs <span id="moonDrillMetalCost">1,000</span> Metal, <span id="moonDrillGemCost">600</span> Gems, <span id="moonDrillOilCost">400</span> Oil.
									</span>
									<br>
									<br>
									<button onclick="getMoonDrill()" class="btn btn-default">Get Low-Gravity Drill</button>
									<button onclick="destroyMachine('moonDrill')" class="btn btn-default destroy hidden">Destroy Low-Gravity Drill</button>
								</td>
							</tr>
							<tr id="lunariteTier3" class="hidden">
								<td>
									<h3 class="default btn-link">
										Moon Quarry: <span id="moonQuarry">0</span>
									</h3>
									<span>
										This quarry tears up the surface of the moon so much that it can be seen from Earth.
										<br>
										Produces 53 Lunarite per second.
										<br>
										Uses 70 Energy per second.
										<br>
										Costs <span id="moonQuarryLunariteCost">8,000</span> Lunarite, <span id="moonQuarryGemCost">5,000</span> Gems, <span id="moonQuarrySiliconCost">3,500</span> Silicon.
									</span>
									<br>
									<br>
									<button onclick="getMoonQuarry()" class="btn btn-default">Get Moon Quarry</button>
									<button onclick="destroyMachine('moonQuarry')" class="btn btn-default destroy hidden">Destroy Moon Quarry</button>
								</td>
							</tr>
							<tr id="lunariteTier4" class="hidden">
								<td>
									<h3 class="default btn-link">
										Planetary Excavator: <span id="planetExcavator">0</span>
									</h3>
									<span>
										This large machine dives deep into the Earth to find large pools of Lunarite found near the core. This is originally where the metal on the Moon comes from.
										<br>
										Produces 207 Lunarite per second.
										<br>
										Uses 182 Energy per second.
										<br>
										Costs <span id="planetExcavatorTitaniumCost">45,000</span> Titanium, <span id="planetExcavatorIceCost">37,000</span> Ice, <span id="planetExcavatorMeteoriteCost">500</span> Meteorite.
									</span>
									<br>
									<br>
									<button onclick="getPlanetExcavator()" class="btn btn-default">Get Planetary Excavator</button>
									<button onclick="destroyMachine('planetExcavator')" class="btn btn-default destroy hidden">Destroy Planetary Excavator</button>
								</td>
							</tr>
							<tr id="lunariteTier5" class="hidden">
								<td>
									<h3 class="default btn-link">
										Moon Cloner: <span id="cloner">0</span>
									</h3>
									<span>
										And you wondered why we have a hundred moons in the sky?
										<br>
										Produces 2122 Lunarite per second.
										<br>
										Uses 1216 Energy per second.
										<br>
										Costs <span id='clonerTitaniumCost'>204000</span> Titanium, <span id='clonerGoldCost'>150000</span> Gold, <span id='clonerMethaneCost'>195000</span> Methane.
									</span>
									<br>
									<br>
									<button onclick="getCloner()" class="btn btn-default">Get Moon Cloner</button>
									<button onclick="destroyMachine('cloner')" class="btn btn-default destroy hidden">Destroy Moon Cloner</button>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="methaneTab" class="tab-pane fade in" style="margin-left:10px; width:100px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										Methane
									</h2>
									<span>
										Methane is a gas found in abundance on Venus. It can be used to power your company much more effectively than solid fuel.
									</span>
									<hide class="gainButton">
									<br>
									<br>
									<div onclick="gainResource('methane')" class="btn btn-default">Gain <span id="methaneGain">1</span></div>
									</hide>
									<br>
									<br>
								</td>
							</tr>
							<tr id="methaneStorageUpgrade">
								<td>
									<h3 class="default btn-link">
										Storage Upgrade
									</h3>
									<span>
										Upgrade your methane storage size to <span id="methaneNextStorage">100</span>.
										<br>
										Time remaining until <span id="methaneLimitType">full</span> storage: <b><span id="methaneLimitTime">N/A</span></b>
										<br>
										Costs <span id="methaneStorageCost">50</span> Methane, <span id="methaneStorageLunariteCost">20</span> Lunarite.
									</span>
									<br>
									<br>
									<button onclick="upgradeMethaneStorage()" class="btn btn-default">Upgrade Storage</button>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Vacuum Cleaner: <span id="vacuum">0</span>
									</h3>
									<span>
										Sucks in methane and cleans the planet at the same time!
										<br>
										Produces 1 methane per second.
										<br>
										Costs <span id="vacuumLunariteCost">50</span> Lunarite, <span id="vacuumGemCost">500</span> Gems.
									</span>
									<br>
									<br>
									<button onclick="getVacuum()" class="btn btn-default">Get Vacuum Cleaner</button>
									<button onclick="destroyMachine('vacuum')" class="btn btn-default destroy hidden">Destroy Vacuum Cleaner</button>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Suction Excavator: <span id="suctionExcavator">0</span>
									</h3>
									<span>
										Sucks more than anything!
										<br>
										Produces 8 methane per second.
										<br>
										Uses 16 Energy per second.
										<br>
										Costs <span id="suctionExcavatorLunariteCost">10,000</span> Lunarite, <span id="suctionExcavatorGemCost">800</span> Gems, <span id="suctionExcavatorOilCost">600</span> Oil.
									</span>
									<br>
									<br>
									<button onclick="getSuctionExcavator()" class="btn btn-default">Get Suction Excavator</button>
									<button onclick="destroyMachine('suctionExcavator')" class="btn btn-default destroy hidden">Destroy Suction Excavator</button>
								</td>
							</tr>
							<tr id="methaneTier3" class="hidden">
								<td>
									<h3 class="default btn-link">
										Space Cow Plantation: <span id="spaceCow">0</span>
									</h3>
									<span>
										These hold cows genetically moodified to produce methane constantly.
										<br>
										Produces 37 methane per second.
										<br>
										Uses 49 Energy per second.
										<br>
										Costs <span id="spaceCowLunariteCost">10,000</span> Lunarite, <span id="spaceCowTitaniumCost">9,000</span> Titanium, <span id="spaceCowSiliconCost">4,100</span> Silicon.
									</span>
									<br>
									<br>
									<button onclick="getSpaceCow()" class="btn btn-default">Get Space Cow</button>
									<button onclick="destroyMachine('spaceCow')" class="btn btn-default destroy hidden">Destroy Space Cow</button>
								</td>
							</tr>
							<tr id="methaneTier4" class="hidden">
								<td>
									<h3 class="default btn-link">
										Hydrothermal Vent: <span id="vent">0</span>
									</h3>
									<span>
										Collect gas from deep sea vents on the ocean floor of Titan.
										<br>
										Produces 149 methane per second.
										<br>
										Uses 132 Energy per second.
										<br>
										Costs <span id="ventLunariteCost">52,000</span> Lunarite, <span id="ventHeliumCost">47,000</span> Helium, <span id="ventMeteoriteCost">390</span> Meteorite.
									</span>
									<br>
									<br>
									<button onclick="getVent()" class="btn btn-default">Get Hydrothermal Vent</button>
									<button onclick="destroyMachine('vent')" class="btn btn-default destroy hidden">Destroy Hydrothermal Vent</button>
								</td>
							</tr>
							<tr id="methaneTier5" class="hidden">
								<td>
									<h3 class="default btn-link">
										Interstellar Cow: <span id="interCow">0</span>
									</h3>
									<span>
										An interdimoonsional bovine.
										<br>
										Produces 1393 methane per second.
										<br>
										Uses 899 Energy per second.
										<br>
										Costs <span id='interCowLunariteCost'>140000</span> Lunarite, <span id='interCowGoldCost'>202000</span> Gold, <span id='interCowHydrogenCost'>158000</span> Hydrogen.
									</span>
									<br>
									<br>
									<button onclick="getInterCow()" class="btn btn-default">Get Interstellar Cow</button>
									<button onclick="destroyMachine('interCow')" class="btn btn-default destroy hidden">Destroy Interstellar Cow</button>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="titaniumTab" class="tab-pane fade in" style="margin-left:10px; width:100px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										Titanium
									</h2>
									<span>
										Titanium is a metal found mostly on Mars. It is used for building strong machines and methane power plants
									</span>
									<hide class="gainButton">
									<br>
									<br>
									<div onclick="gainResource('titanium')" class="btn btn-default">Gain <span id="titaniumGain">1</span></div>
									</hide>
									<br>
									<br>
								</td>
							</tr>
							<tr id="titaniumStorageUpgrade">
								<td>
									<h3 class="default btn-link">
										Storage Upgrade
									</h3>
									<span>
										Upgrade your Titanium storage size to <span id="titaniumNextStorage">100</span>.
										<br>
										Time remaining until <span id="titaniumLimitType">full</span> storage: <b><span id="titaniumLimitTime">N/A</span></b>
										<br>
										Costs <span id="titaniumStorageCost">50</span> Titanium, <span id="titaniumStorageLunariteCost">20</span> Lunarite.
									</span>
									<br>
									<br>
									<button onclick="upgradeTitaniumStorage()" class="btn btn-default">Upgrade Storage</button>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Explorer: <span id="explorer">0</span>
									</h3>
									<span>
										Hire explorers to search for Titanium on the surface, uncovered by winds on Mars.
										<br>
										Produces 1 Titanium per second.
										<br>
										Costs <span id="explorerGemCost">1,000</span> Gems.
									</span>
									<br>
									<br>
									<button onclick="getExplorer()" class="btn btn-default">Get Explorer</button>
									<button onclick="destroyMachine('explorer')" class="btn btn-default destroy hidden">Destroy Explorer</button>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Lunarite Drill: <span id="lunariteDrill">0</span>
									</h3>
									<span>
										These Lunarite Drills are extremely powerful, needed to mine out Titanium from inside Mars' crust.
										<br>
										Produces 9 Titanium per second.
										<br>
										Uses 13 Energy per second.
										<br>
										Costs <span id="lunariteDrillLunariteCost">200</span> Lunarite, <span id="lunariteDrillGemCost">800</span> Gems, <span id="lunariteDrillOilCost">1,000</span> Oil.
									</span>
									<br>
									<br>
									<button onclick="getLunariteDrill()" class="btn btn-default">Get Lunarite Drill</button>
									<button onclick="destroyMachine('lunariteDrill')" class="btn btn-default destroy hidden">Destroy Lunarite Drill</button>
								</td>
							</tr>
							<tr id="titaniumTier3" class="hidden">
								<td>
									<h3 class="default btn-link">
										Penta-Drill: <span id="pentaDrill">0</span>
									</h3>
									<span>
										This is a mining machine modified to have 5 drills on its face. This allows for a massive increase in resources gained per second.
										<br>
										Produces 49 Titanium per second.
										<br>
										Uses 46 Energy per second.
										<br>
										Costs <span id="pentaDrillLunariteCost">14,000</span> Lunarite, <span id="pentaDrillGemCost">11,000</span> Gems, <span id="pentaDrillSiliconCost">5,600</span> Silicon.
									</span>
									<br>
									<br>
									<button onclick="getPentaDrill()" class="btn btn-default">Get Penta-Drill</button>
									<button onclick="destroyMachine('pentaDrill')" class="btn btn-default destroy hidden">Destroy Penta-Drill</button>
								</td>
							</tr>
							<tr id="titaniumTier4" class="hidden">
								<td>
									<h3 class="default btn-link">
										Drill of Titans: <span id="titanDrill">0</span>
									</h3>
									<span>
										This mighty drill is said to have been wielded by Titans themselves, many millennia ago.
										<br>
										Produces 197 Titanium per second.
										<br>
										Uses 123 Energy per second.
										<br>
										Costs <span id="titanDrillLunariteCost">63,000</span> Lunarite, <span id="titanDrillGoldCost">27,000</span> Gold, <span id="titanDrillMeteoriteCost">600</span> Meteorite.
									</span>
									<br>
									<br>
									<button onclick="getTitanDrill()" class="btn btn-default">Get Titan-Drill</button>
									<button onclick="destroyMachine('titanDrill')" class="btn btn-default destroy hidden">Destroy Titan-Drill</button>
								</td>
							</tr>
							<tr id="titaniumTier5" class="hidden">
								<td>
									<h3 class="default btn-link">
										David Guetta's Club: <span id="club">0</span>
									</h3>
									<span>
										You shoot me down, but I won't fall. I am Titanium.
										<br>
										Produces 2106 Titanium per second.
										<br>
										Uses 690 Energy per second.
										<br>
										Costs <span id='clubUraniumCost'>175000</span> Uranium, <span id='clubWoodCost'>164000</span> Wood, <span id='clubHeliumCost'>156000</span> Helium.
									</span>
									<br>
									<br>
									<button onclick="getClub()" class="btn btn-default">Get Club</button>
									<button onclick="destroyMachine('club')" class="btn btn-default destroy hidden">Destroy Club</button>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="goldTab" class="tab-pane fade in" style="margin-left:10px; width:100px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										Gold
									</h2>
									<span>
										Gold is a metal found inside asteroids. It is used to build some Wonders and for complex machinery.
									</span>
									<hide class="gainButton">
									<br>
									<br>
									<div onclick="gainResource('gold')" class="btn btn-default">Gain <span id="goldGain">1</span></div>
									</hide>
									<br>
									<br>
								</td>
							</tr>
							<tr id="goldStorageUpgrade">
								<td>
									<h3 class="default btn-link">
										Storage Upgrade
									</h3>
									<span>
										Upgrade your Gold storage size to <span id="goldNextStorage">100</span>.
										<br>
										Time remaining until <span id="goldLimitType">full</span> storage: <b><span id="goldLimitTime">N/A</span></b>
										<br>
										Costs <span id="goldStorageCost">50</span> Gold, <span id="goldStorageLunariteCost">20</span> Lunarite.
									</span>
									<br>
									<br>
									<button onclick="upgradeGoldStorage()" class="btn btn-default">Upgrade Storage</button>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Rocket Droid: <span id="droid">0</span>
									</h3>
									<span>
										Powered by Methane, this droid scouts the asteroids for gold deposits.
										<br>
										Produces 1 Gold per second.
										<br>
										Costs <span id="droidLunariteCost">200</span> Lunarite, <span id="droidMethaneCost">50</span> Methane.
									</span>
									<br>
									<br>
									<button onclick="getDroid()" class="btn btn-default">Get Rocket Droid</button>
									<button onclick="destroyMachine('droid')" class="btn btn-default destroy hidden">Destroy Droid</button>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Asteroid Destroyer: <span id="destroyer">0</span>
									</h3>
									<span>
										Mines through asteroids to find Gold. It is much more effective than the simple droid.
										<br>
										Produces 8 Gold per second.
										<br>
										Uses 19 Energy per second.
										<br>
										Costs <span id="destroyerLunariteCost">500</span> Lunarite, <span id="destroyerGemCost">1,500</span> Gems, <span id="destroyerOilCost">1,000</span> Oil.
									</span>
									<br>
									<br>
									<button onclick="getDestroyer()" class="btn btn-default">Get Asteroid Destroyer</button>
									<button onclick="destroyMachine('destroyer')" class="btn btn-default destroy hidden">Destroy Destroyer</button>
								</td>
							</tr>
							<tr id="goldTier3" class="hidden">
								<td>
									<h3 class="default btn-link">
										Death Star Jr: <span id="deathStar">0</span>
									</h3>
									<span>
										That's no moon! That's a Space Station! This cuts through asteroids to expose all of the Gold in the centers.
										<br>
										Produces 51 Gold per second.
										<br>
										Uses 81 Energy per second.
										<br>
										Costs <span id="deathStarLunariteCost">17,000</span> Lunarite, <span id="deathStarSilverCost">11,500</span> Silver, <span id="deathStarSiliconCost">8,200</span> Silicon.
									</span>
									<br>
									<br>
									<button onclick="getDeathStar()" class="btn btn-default">Get Death Star Jr</button>
									<button onclick="destroyMachine('deathStar')" class="btn btn-default destroy hidden">Destroy Death Star Jr</button>
								</td>
							</tr>
							<tr id="goldTier4" class="hidden">
								<td>
									<h3 class="default btn-link">
										Chronal Actuator: <span id="actuator">0</span>
									</h3>
									<span>
										Speeds up time through quantum physics in order to produce even more Gold.
										<br>
										Produces 211 Gold per second.
										<br>
										Uses 223 Energy per second.
										<br>
										Costs <span id="actuatorLunariteCost">61,000</span> Lunarite, <span id="actuatorHeliumCost">15,700</span> Helium, <span id="actuatorMeteoriteCost">600</span> Meteorite.
									</span>
									<br>
									<br>
									<button onclick="getActuator()" class="btn btn-default">Get Chronal Actuator</button>
									<button onclick="destroyMachine('actuator')" class="btn btn-default destroy hidden">Destroy Chronal Actuator</button>
								</td>
							</tr>
							<tr id="goldTier5" class="hidden">
								<td>
									<h3 class="default btn-link">
										Philosopher's Stone: <span id="philosopher">0</span>
									</h3>
									<span>
										Transmuation has progressed to being able to turn thin air into gold!
										<br>
										Produces 2422 Gold per second.
										<br>
										Uses 1324 Energy per second.
										<br>
										Costs <span id='philosopherMetalCost'>208000</span> Metal, <span id='philosopherSilverCost'>167000</span> Silver, <span id='philosopherMeteoriteCost'>18000</span> Meterorite.
									</span>
									<br>
									<br>
									<button onclick="getPhilosopher()" class="btn btn-default">Get Philosopher's Stone</button>
									<button onclick="destroyMachine('philosopher')" class="btn btn-default destroy hidden">Destroy Philosopher's Stone</button>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="silverTab" class="tab-pane fade in" style="margin-left:10px; width:100px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										Silver
									</h2>
									<span>
										Silver is another metal most commonly found in the asteroid belt.
									</span>
									<hide class="gainButton">
									<br>
									<br>
									<div onclick="gainResource('silver')" class="btn btn-default">Gain <span id="silverGain">1</span></div>
									</hide>
									<br>
									<br>
								</td>
							</tr>
							<tr id="silverStorageUpgrade">
								<td>
									<h3 class="default btn-link">
										Storage Upgrade
									</h3>
									<span>
										Upgrade your silver storage size to <span id="silverNextStorage">100</span>.
										<br>
										Time remaining until <span id="silverLimitType">full</span> storage: <b><span id="silverLimitTime">N/A</span></b>
										<br>
										Costs <span id="silverStorageCost">50</span> Silver, <span id="silverStorageLunariteCost">20</span> Lunarite.
									</span>
									<br>
									<br>
									<button onclick="upgradeSilverStorage()" class="btn btn-default">Upgrade Storage</button>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Scout Ship: <span id="scout">0</span>
									</h3>
									<span>
										The Scout Ship searches through the asteroid field for pieces of silver embedded in asteroids.
										<br>
										Produces 1 silver per second.
										<br>
										Costs <span id="scoutLunariteCost">100</span> Lunarite, <span id="scoutTitaniumCost">20</span> Titanium.
									</span>
									<br>
									<br>
									<button onclick="getScout()" class="btn btn-default">Get Scout Ship</button>
									<button onclick="destroyMachine('scout')" class="btn btn-default destroy hidden">Destroy Scout</button>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Interplanetary Laser: <span id="spaceLaser">0</span>
									</h3>
									<span>
										Cuts through asteroids to find silver deposits in their cores.
										<br>
										Produces 13 silver per second.
										<br>
										Uses 24 Energy per second.
										<br>
										Costs <span id="spaceLaserLunariteCost">350</span> Lunarite, <span id="spaceLaserGemCost">900</span> Gems, <span id="spaceLaserOilCost">1,200</span> Oil.
									</span>
									<br>
									<br>
									<button onclick="getSpaceLaser()" class="btn btn-default">Get Interplanetary Laser</button>
									<button onclick="destroyMachine('spaceLaser')" class="btn btn-default destroy hidden">Destroy Space Laser</button>
								</td>
							</tr>
							<tr id="silverTier3" class="hidden">
								<td>
									<h3 class="default btn-link">
										Big Bertha: <span id="bertha">0</span>
									</h3>
									<span>
										This large, space drill, named after the World War One Howitzer built almost a millennia ago, is a silver seeking machine specially designed for mining asteroids.
										<br>
										Produces 53 silver per second.
										<br>
										Uses 65 Energy per second.
										<br>
										Costs <span id="berthaLunariteCost">19,500</span> Lunarite, <span id="berthaTitaniumCost">18,200</span> Titanium, <span id="berthaSiliconCost">11,000</span> Silicon.
									</span>
									<br>
									<br>
									<button onclick="getBertha()" class="btn btn-default">Get Big Bertha</button>
									<button onclick="destroyMachine('bertha')" class="btn btn-default destroy hidden">Destroy Big Bertha</button>
								</td>
							</tr>
							<tr id="silverTier4" class="hidden">
								<td>
									<h3 class="default btn-link">
										Atomic Cannon: <span id="cannon">0</span>
									</h3>
									<span>
										This powerful cannon orbits Neptune and can atomise the surface of asteroids, revealing the silver within.
										<br>
										Produces 208 silver per second.
										<br>
										Uses 170 Energy per second.
										<br>
										Costs <span id="cannonLunariteCost">85,100</span> Lunarite, <span id="cannonOilCost">93,800</span> Oil, <span id="cannonMeteoriteCost">520</span> Meteorite.
									</span>
									<br>
									<br>
									<button onclick="getCannon()" class="btn btn-default">Get Atomic Cannon</button>
									<button onclick="destroyMachine('cannon')" class="btn btn-default destroy hidden">Destroy Atomic Cannon</button>
								</td>
							</tr>
							<tr id="silverTier5" class="hidden">
								<td>
									<h3 class="default btn-link">
										Dead Werewolf Finder: <span id="werewolf">0</span>
									</h3>
									<span>
										The Silver bullets used to kill werewolfs are made from silver that has been compressed well over 1000 times. Extracting them will prove beneficial for your production.
										<br>
										Produces 2261 silver per second.
										<br>
										Uses 1008 Energy per second.
										<br>
										Costs <span id='werewolfUraniumCost'>165000</span> Uranium, <span id='werewolfGemCost'>209000</span> Gems, <span id='werewolfMethaneCost'>170000</span> Methane.
									<br>
									<br>
									<button onclick="getWerewolf()" class="btn btn-default">Get Dead Werewolf Finder</button>
									<button onclick="destroyMachine('werewolf')" class="btn btn-default destroy hidden">Destroy Dead Werewolf Finder</button>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="lavaTab" class="tab-pane fade in" style="margin-left:10px; width:100px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										Lava
									</h2>
									<span>
										Hard to handle and only found in volcanoes, Lava is one of the hardest resources to get.
									</span>
									<hide class="gainButton">
									<br>
									<br>
									<div onclick="gainResource('lava')" class="btn btn-default">Gain <span id="lavaGain">1</span></div>
									</hide>
									<br>
									<br>
								</td>
							</tr>
							<tr id="lavaStorageUpgrade">
								<td>
									<h3 class="default btn-link">
										Storage Upgrade
									</h3>
									<span>
										Upgrade your Lava storage size to <span id="lavaNextStorage">100</span>.
										<br>
										Time remaining until <span id="lavaLimitType">full</span> storage: <b><span id="lavaLimitTime">N/A</span></b>
										<br>
										Costs <span id="lavaStorageCost">50</span> Lava, <span id="lavaStorageLunariteCost">20</span> Lunarite.
									</span>
									<br>
									<br>
									<button onclick="upgradeLavaStorage()" class="btn btn-default">Upgrade Storage</button>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Heat Resistant Crucible: <span id="crucible">0</span>
									</h3>
									<span>
										You can use a modified crucible to pick up lava and to store it for later use.
										<br>
										Produces 1 Lava per second.
										<br>
										Costs <span id="crucibleGemCost">7,000</span> Gems, <span id="crucibleLunariteCost">4,000</span> Lunarite.
									</span>
									<br>
									<br>
									<button onclick="getCrucible()" class="btn btn-default">Get Crucible</button>
									<button onclick="destroyMachine('crucible')" class="btn btn-default destroy hidden">Destroy Heat Resistant Crucible</button>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Lava Extractor: <span id="extractor">0</span>
									</h3>
									<span>
										This extracts lava from volcanoes automatically and quickly.
										<br>
										Produces 7 Lava per second.
										<br>
										Uses 58 Energy per second.
										<br>
										Costs <span id="extractorLunariteCost">16,000</span> Lunarite, <span id="extractorTitaniumCost">14,000</span> Titanium, <span id="extractorSiliconCost">6,000</span> Silicon.
									</span>
									<br>
									<br>
									<button onclick="getExtractor()" class="btn btn-default">Get Extractor</button>
									<button onclick="destroyMachine('extractor')" class="btn btn-default destroy hidden">Destroy Lava Extractor</button>
								</td>
							</tr>
							<tr id="lavaTier3" class="hidden">
								<td>
									<h3 class="default btn-link">
										Igneous Extruder: <span id="extruder">0</span>
									</h3>
									<span>
										Instead of going out and finding lava, it can be more convenient to make it yourself with heat and pressure.
										<br>
										Produces 43 Lava per second.
										<br>
										Uses 237 Energy per second.
										<br>
										Costs <span id="extruderLunariteCost">69,000</span> Lunarite, <span id="extruderTitaniumCost">57,000</span> Titanium, <span id="extruderSiliconCost">39,000</span> Silicon.
									</span>
									<br>
									<br>
									<button onclick="getExtruder()" class="btn btn-default">Get Igneous Extruder</button>
									<button onclick="destroyMachine('extruder')" class="btn btn-default destroy hidden">Destroy Igneous Extruder</button>
								</td>
							</tr>
							<tr id="lavaTier4" class="hidden">
								<td>
									<h3 class="default btn-link">
										Volcanic Veluptuator: <span id="veluptuator">0</span>
									</h3>
									<span>
										A melting pot of misery, pouring lava out from mined rock.
										<br>
										Produces 187 Lava per second.
										<br>
										Uses 689 Energy per second.
										<br>
										Costs <span id="veluptuatorLunariteCost">298,000</span> Lunarite, <span id="veluptuatorGoldCost">121,000</span> Gold, <span id="veluptuatorMeteoriteCost">750</span> Meteorite.
									</span>
									<br>
									<br>
									<button onclick="getVeluptuator()" class="btn btn-default">Get Volcanic Veluptuator</button>
									<button onclick="destroyMachine('veluptuator')" class="btn btn-default destroy hidden">Destroy Volcanic Veluptuator</button>
								</td>
							</tr>
							<tr id="lavaTier5" class="hidden">
								<td>
									<h3 class="default btn-link">
										Jupitonian Condensator: <span id="condensator">0</span>
									</h3>
									<span>
										Condense gases from the heart of Jupiter into liquid magma.
										<br>
										Produces 2103 Lava per second.
										<br>
										Uses 4142 Energy per second.
										<br>
										Costs <span id='condensatorLunariteCost'>288000</span> Lunarite, <span id='condensatorGemCost'>210000</span> Gems, <span id='condensatorIceCost'>238000</span> Ice.
									</span>
									<br>
									<br>
									<button onclick="getCondensator()" class="btn btn-default">Get Jupitonian Condensator</button>
									<button onclick="destroyMachine('condensator')" class="btn btn-default destroy hidden">Destroy Jupitonian Condensator</button>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="hydrogenTab" class="tab-pane fade in" style="margin-left:10px; width:100px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										Hydrogen
									</h2>
									<span>
										Hydrogen is extremely common on gas giants such as Jupiter and Saturn.
									</span>
									<hide class="gainButton">
									<br>
									<br>
									<div onclick="gainResource('hydrogen')" class="btn btn-default">Gain <span id="hydrogenGain">1</span></div>
									</hide>
									<br>
									<br>
								</td>
							</tr>
							<tr id="hydrogenStorageUpgrade">
								<td>
									<h3 class="default btn-link">
										Storage Upgrade
									</h3>
									<span>
										Upgrade your Hydrogen storage size to <span id="hydrogenNextStorage">100</span>.
										<br>
										Time remaining until <span id="hydrogenLimitType">full</span> storage: <b><span id="hydrogenLimitTime">N/A</span></b>
										<br>
										Costs <span id="hydrogenStorageCost">50</span> Hydrogen, <span id="hydrogenStorageLunariteCost">20</span> Lunarite.
									</span>
									<br>
									<br>
									<button onclick="upgradeHydrogenStorage()" class="btn btn-default">Upgrade Storage</button>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Hydrogen Collector: <span id="collector">0</span>
									</h3>
									<span>
										This collector travels around Jupiter seeking Hydrogen to store to bring back to Earth.
										<br>
										Produces 1 Hydrogen per second.
										<br>
										Costs <span id="collectorLunariteCost">6,000</span> Lunarite, <span id="collectorTitaniumCost">4,800</span> Titanium.
									</span>
									<br>
									<br>
									<button onclick="getCollector()" class="btn btn-default">Get Collector</button>
									<button onclick="destroyMachine('collector')" class="btn btn-default destroy hidden">Destroy Collector</button>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Gaseous Magnet: <span id="magnet">0</span>
									</h3>
									<span>
										The magnet attracts the Hydrogen to it to increase the amount collected per second.
										<br>
										Produces 5 Hydrogen per second.
										<br>
										Uses 63 Energy per second.
										<br>
										Costs <span id="magnetLunariteCost">10,800</span> Lunarite, <span id="magnetTitaniumCost">9,600</span> Titanium, <span id="magnetGoldCost">6,600</span> Gold.
									</span>
									<br>
									<br>
									<button onclick="getMagnet()" class="btn btn-default">Get Magnet</button>
									<button onclick="destroyMachine('magnet')" class="btn btn-default destroy hidden">Destroy Gaseous Magnet</button>
								</td>
							</tr>
							<tr id="hydrogenTier3" class="hidden">
								<td>
									<h3 class="default btn-link">
										Electrolytic Cell: <span id="eCell">0</span>
									</h3>
									<span>
										These are made here on Earth and can turn water into hydrogen with a constant supply of Energy.
										<br>
										Produces 28 Hydrogen per second.
										<br>
										Uses 234 Energy per second.
										<br>
										Costs <span id="eCellSilverCost">37,200</span> Silver, <span id="eCellGoldCost">34,200</span> Gold, <span id="eCellSiliconCost">25,800</span> Silicon.
									</span>
									<br>
									<br>
									<button onclick="getECell()" class="btn btn-default">Get Electrolytic Cell</button>
									<button onclick="destroyMachine('eCell')" class="btn btn-default destroy hidden">Destroy Electrolytic Cell</button>
								</td>
							</tr>
							<tr id="hydrogenTier4" class="hidden">
								<td>
									<h3 class="default btn-link">
										Hindenburg Excavation: <span id="hindenburg">0</span>
									</h3>
									<span>
										Somehow, it works.
										<br>
										Produces 113 Hydrogen per second.
										<br>
										Uses 613 Energy per second.
										<br>
										Costs <span id="hindenburgLunariteCost">172,000</span> Lunarite, <span id="hindenburgMethaneCost">134,000</span> Methane, <span id="hindenburgMeteoriteCost">710</span> Meteorite.
									</span>
									<br>
									<br>
									<button onclick="getHindenburg()" class="btn btn-default">Get Hindenburg Excavation</button>
									<button onclick="destroyMachine('hindenburg')" class="btn btn-default destroy hidden">Destroy Hindenburg Excavation</button>
								</td>
							</tr>
							<tr id="hydrogenTier5" class="hidden">
								<td>
									<h3 class="default btn-link">
										Star Harvester: <span id="harvester">0</span>
									</h3>
									<span>
										'Stealing' is such a strong word. I prefer 'borrowing without return' when we harvest the outer regions of stars.
										<br>
										Produces 3562 Hydrogen per second.
										<br>
										Uses 3562 Energy per second.
										<br>
										Costs <span id='harvesterLunariteCost'>250000</span> Lunarite, <span id='harvesterWoodCost'>184000</span> Wood, <span id='harvesterOilCost'>146000</span> Oil.
									</span>
									<br>
									<br>
									<button onclick="getHarvester()" class="btn btn-default">Get Star Harvester</button>
									<button onclick="destroyMachine('harvester')" class="btn btn-default destroy hidden">Destroy Star Harvester</button>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="heliumTab" class="tab-pane fade in" style="margin-left:10px; width:100px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										Helium
									</h2>
									<span>
										Helium is the second most common element on gas giants such as Jupiter and Saturn.
									</span>
									<hide class="gainButton">
									<br>
									<br>
									<div onclick="gainResource('helium')" class="btn btn-default">Gain <span id="heliumGain">1</span></div>
									</hide>
									<br>
									<br>
								</td>
							</tr>
							<tr id="heliumStorageUpgrade">
								<td>
									<h3 class="default btn-link">
										Storage Upgrade
									</h3>
									<span>
										Upgrade your Helium storage size to <span id="heliumNextStorage">100</span>.
										<br>
										Time remaining until <span id="heliumLimitType">full</span> storage: <b><span id="heliumLimitTime">N/A</span></b>
										<br>
										Costs <span id="heliumStorageCost">50</span> Helium, <span id="heliumStorageLunariteCost">20</span> Lunarite.
									</span>
									<br>
									<br>
									<button onclick="upgradeHeliumStorage()" class="btn btn-default">Upgrade Storage</button>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Helium Drone: <span id="drone">0</span>
									</h3>
									<span>
										The Helium Drone scouts out the area on Saturn and picks out spots high in Helium which are then mined slowly by it.
										<br>
										Produces 1 Helium per second.
										<br>
										Costs <span id="droneLunariteCost">8,400</span> Lunarite, <span id="droneSiliconCost">6,000</span> Silicon.
									</span>
									<br>
									<br>
									<button onclick="getDrone()" class="btn btn-default">Get Drone</button>
									<button onclick="destroyMachine('drone')" class="btn btn-default destroy hidden">Destroy Helium Drone</button>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Helium Tanker: <span id="tanker">0</span>
									</h3>
									<span>
										This huge tanker holds large amounts of Helium and transports it from Saturn to Earth through the vacuum of space.
										<br>
										Produces 11 Helium per second.
										<br>
										Uses 72 Energy per second.
										<br>
										Costs <span id="tankerLunariteCost">12,600</span> Lunarite, <span id="tankerTitaniumCost">10,200</span> Titanium, <span id="tankerSiliconCost">8,400</span> Silicon.
									</span>
									<br>
									<br>
									<button onclick="getTanker()" class="btn btn-default">Get Tanker</button>
									<button onclick="destroyMachine('tanker')" class="btn btn-default destroy hidden">Destroy Helium Tanker</button>
								</td>
							</tr>
							<tr id="heliumTier3" class="hidden">
								<td>
									<h3 class="default btn-link">
										Morphic Compressor: <span id="compressor">0</span>
									</h3>
									<span>
										The Compressor packs helium densely into a small space so that it can be easily transported back to Earth.
										<br>
										Produces 57 Helium per second.
										<br>
										Uses 248 Energy per second.
										<br>
										Costs <span id="compressorLunariteCost">63,000</span> Lunarite, <span id="compressorTitaniumCost">43,800</span> Titanium, <span id="compressorSiliconCost">35,400</span> Silicon.
									</span>
									<br>
									<br>
									<button onclick="getCompressor()" class="btn btn-default">Get Morphic Compressor</button>
									<button onclick="destroyMachine('compressor')" class="btn btn-default destroy hidden">Destroy Morphic Compressor</button>
								</td>
							</tr>
							<tr id="heliumTier4" class="hidden">
								<td>
									<h3 class="default btn-link">
										Gas Giant Skimmer: <span id="skimmer">0</span>
									</h3>
									<span>
										Flying into Gas Giants' atmospheres with a big bucket is the best plan we've had yet!
										<br>
										Produces 232 Helium per second.
										<br>
										Uses 670 Energy per second.
										<br>
										Costs <span id="skimmerLunariteCost">255,000</span> Lunarite, <span id="skimmerTitaniumCost">173,000</span> Titanium, <span id="skimmerMeteoriteCost">770</span> Meteorite.
									</span>
									<br>
									<br>
									<button onclick="getSkimmer()" class="btn btn-default">Get Gas Giant Skimmer</button>
									<button onclick="destroyMachine('skimmer')" class="btn btn-default destroy hidden">Destroy Gas Giant Skimmer</button>
								</td>
							</tr>
							<tr id="heliumTier5" class="hidden">
								<td>
									<h3 class="default btn-link">
										Caged Star: <span id="cage">0</span>
									</h3>
									<span>
										A contained miniature version of the sun uses nuclear fusion to create massive amounts of helium.
										<br>
										Produces 2369 Helium per second.
										<br>
										Uses 4075 Energy per second.
										<br>
										Costs <span id='cageLunariteCost'>171000</span> Lunarite, <span id='cageSiliconCost'>165000</span> Silicon, <span id='cageMeteoriteCost'>18600</span> Meterorite.
									</span>
									<br>
									<br>
									<button onclick="getCage()" class="btn btn-default">Get Caged Star</button>
									<button onclick="destroyMachine('cage')" class="btn btn-default destroy hidden">Destroy Caged Star</button>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="iceTab" class="tab-pane fade in" style="margin-left:10px; width:100px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										Ice
									</h2>
									<span>
										Ice, although it can be collected on Earth, is not nearly as profitable as flying to Pluto and back with space craft full of the stuff. It is mainly used for super-cooling technology necessary for Tier 4 machines.
									</span>
									<hide class="gainButton">
									<br>
									<br>
									<div onclick="gainResource('ice')" class="btn btn-default">Gain <span id="iceGain">1</span></div>
									</hide>
									<br>
									<br>
								</td>
							</tr>
							<tr id="iceStorageUpgrade">
								<td>
									<h3 class="default btn-link">
										Storage Upgrade
									</h3>
									<span>
										Upgrade your Ice storage size to <span id="iceNextStorage">100</span>.
										<br>
										Time remaining until <span id="iceLimitType">full</span> storage: <b><span id="iceLimitTime">N/A</span></b>
										<br>
										Costs <span id="iceStorageCost">50</span> Ice, <span id="iceStorageLunariteCost">20</span> Lunarite.
									</span>
									<br>
									<br>
									<button onclick="upgradeIceStorage()" class="btn btn-default">Upgrade Storage</button>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Ice Pickaxe: <span id="icePick">0</span>
									</h3>
									<span>
										The Ice Pickaxe is the simplest way of mining frozen water, and although it is the cheapest, it is the slowest.
										<br>
										Produces 1 Ice per second.
										<br>
										Costs <span id="icePickLunariteCost">17,800</span> Lunarite, <span id="icePickGemCost">19,300</span> Gems.
									</span>
									<br>
									<br>
									<button onclick="getIcePick()" class="btn btn-default">Get Ice Pickaxe</button>
									<button onclick="destroyMachine('icePick')" class="btn btn-default destroy hidden">Destroy Ice Pickaxe</button>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Ice Drill: <span id="iceDrill">0</span>
									</h3>
									<span>
										The Ice Drill is more effective than the Pickaxe and gains much more Ice every second. However, it does use electricity.
										<br>
										Produces 9 Ice per second.
										<br>
										Uses 83 Energy per second.
										<br>
										Costs <span id="iceDrillLunariteCost">23,900</span> Lunarite, <span id="iceDrillTitaniumCost">21,200</span> Titanium, <span id="iceDrillSiliconCost">19,600</span> Silicon.
									</span>
									<br>
									<br>
									<button onclick="getIceDrill()" class="btn btn-default">Get Ice Drill</button>
									<button onclick="destroyMachine('iceDrill')" class="btn btn-default destroy hidden">Destroy Ice Drill</button>
								</td>
							</tr>
							<tr id="iceTier3" class="hidden">
								<td>
									<h3 class="default btn-link">
										Ocean Freezer: <span id="freezer">0</span>
									</h3>
									<span>
										With advanced technology, you are now able to turn Earth's water into high-quality Ice, previously only found on Pluto.
										<br>
										Produces 65 Ice per second.
										<br>
										Uses 397 Energy per second.
										<br>
										Costs <span id="freezerLunariteCost">117,000</span> Lunarite, <span id="freezerTitaniumCost">86,000</span> Titanium, <span id="freezerSiliconCost">73,000</span> Silicon.
									</span>
									<br>
									<br>
									<button onclick="getFreezer()" class="btn btn-default">Get Freezer</button>
									<button onclick="destroyMachine('freezer')" class="btn btn-default destroy hidden">Destroy Ocean Freezer</button>
								</td>
							</tr>
							<tr id="iceTier4" class="hidden">
								<td>
									<h3 class="default btn-link">
										Mr Freeze: <span id="mrFreeze">0</span>
									</h3>
									<span>
										This robot is the coolest guy in the solar system.
										<br>
										Produces 278 Ice per second.
										<br>
										Uses 1,135 Energy per second.
										<br>
										Costs <span id="mrFreezeWoodCost">379,000</span> Wood, <span id="mrFreezeHeliumCost">14,000</span> Helium, <span id="mrFreezeMeteoriteCost">1,500</span> Meteorite.
									</span>
									<br>
									<br>
									<button onclick="getMrFreeze()" class="btn btn-default">Get Mr Freeze</button>
									<button onclick="destroyMachine('mrFreeze')" class="btn btn-default destroy hidden">Destroy Mr Freeze</button>
								</td>
							</tr>
							<tr id="iceTier5" class="hidden">
								<td>
									<h3 class="default btn-link">
										Overexchange Condenser: <span id="overexchange">0</span>
									</h3>
									<span>
										Drain heat out of the ingredients so fast that you're not sure how to process it safely, but you managed to do it properly anyway.
										<br>
										Produces 2973 Ice per second.
										<br>
										Uses 7397 Energy per second.
										<br>
										Costs <span id='overexchangeMetalCost'>210,000</span> Metal, <span id='overexchangeSilverCost'>188,000</span> Silver, <span id='overexchangeHeliumCost'>205,000</span> Helium.
									</span>
									<br>
									<br>
									<button onclick="getOverexchange()" class="btn btn-default">Get Overexchange Condenser</button>
									<button onclick="destroyMachine('overexchange')" class="btn btn-default destroy hidden">Destroy Overexchange Condenser</button>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="meteoriteTab" class="tab-pane fade in" style="margin-left:10px; width:100px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										Meteorite
									</h2>
									<span>
										Creating Meteorite is only possible from purer forms of energy than those created with earth technology. Therefore, Plasma is necessary to make the strong resource.
										<br>
										Converting to 1 Meteorite Costs 3 Plasma.
									</span>
									<br>
									<br>
									<hide class="gainButton">
									<div onclick="gainResource('meteorite')" class="btn btn-default">Convert <span id="meteoriteGain">1</span></div>
									</hide>
									<button onclick="toggleMeteorite()" class="btn btn-default">Turn Meteorite Production <span id="meteoriteToggled">Off</span></button>
									<br>
									<br>
								</td>
							</tr>
							<tr id="meteoriteStorageUpgrade">
								<td>
									<h3 class="default btn-link">
										Storage Upgrade
									</h3>
									<span>
										Upgrade your Meteorite storage size to <span id="meteoriteNextStorage">100</span>.
										<br>
										Time remaining until <span id="meteoriteLimitType">full</span> storage: <b><span id="meteoriteLimitTime">N/A</span></b>
										<br>
										Costs <span id="meteoriteStorageCost">50</span> Meteorite, <span id="meteoriteStorageLunariteCost">400</span> Lunarite.
									</span>
									<br>
									<br>
									<button onclick="upgradeMeteoriteStorage()" class="btn btn-default">Upgrade Storage</button>
								</td>
							</tr>
							<tr id="meteoriteTier1" class="hidden">
								<td>
									<h3 class="default btn-link">
										Meteorite Printer: <span id="printer">0</span>
									</h3>
									<span>
										Construct an automated way of producing meteorite without you having to do anything.
										<br>
										Produces 1 Meteorite per second. Uses 3 Plasma per second.
										<br>
										Costs <span id="printerLunariteCost">100,000</span> Lunarite, <span id="printerSiliconCost">60,000</span> Silicon.
									</span>
									<br>
									<br>
									<button onclick="getPrinter()" class="btn btn-default">Get Meteorite Printer</button>
									<button onclick="destroyMachine('printer')" class="btn btn-default destroy hidden">Destroy Meteorite Printer</button>
								</td>
							</tr>
							<tr id="meteoriteTier2" class="hidden">
								<td>
									<h3 class="default btn-link">
										Meteorite Web: <span id="web">0</span>
									</h3>
									<span>
										The Meteorite Web uses nano-fibres made while submerged in highly radioactive liquids to become strong enough to physically catch meteors from the Asteroid Belt. Plasma is required to refine the asteroids into Meteorite Ore, which can be usable.
										<br>
										Produces 8 Meteorite per second. Uses 21 Plasma per second.
										<br>
										Costs <span id="webLunariteCost">940,000</span> Lunarite, <span id="webUraniumCost">490,000</span> Uranium, <span id="webSiliconCost">510,000</span> Silicon.
									</span>
									<br>
									<br>
									<button onclick="getWeb()" class="btn btn-default">Get Meteorite Web</button>
									<button onclick="destroyMachine('web')" class="btn btn-default destroy hidden">Destroy Meteorite Web</button>
								</td>
							</tr>
							<tr id="meteoriteTier3" class="hidden">
								<td>
									<h3 class="default btn-link">
										Planet Smasher: <span id="smasher">0</span>
									</h3>
									<span>
										Get meteorites the old-fashioned way: demolishing uninhabited exoplanets by firing high-energy particle beams at them, then collect the debris.
										<br>
										Produces 72 Meteorite per second. Uses 111 Plasma per second.
										<br>
										Costs <span id="smasherSiliconCost">3.23M</span> Silicon, <span id="smasherSilverCost">5.89M</span> Silver, <span id="smasherGemCost">8.34M</span> Gems.
									</span>
									<br>
									<br>
									<button onclick="getSmasher()" class="btn btn-default">Get Planet Smasher</button>
									<button onclick="destroyMachine('smasher')" class="btn btn-default destroy hidden">Destroy Planet Smasher</button>
								</td>
							</tr>
							<tr id="meteoriteTier4" class="hidden">
								<td>
									<h3 class="default btn-link">
										Nebulous Synthesizer: <span id="nebulous">0</span>
									</h3>
									<span>
										Bypass the need for demolishing planets entirely by building your own nebula to create meteorites instead of planets.
										<br>
										Produces 135 Meteorite per second. Uses 142 Plasma per second.
										<br>
										Costs <span id="nebulousLunariteCost">25.8M</span> Lunarite, <span id="nebulousLavaCost">19.7M</span> Lava, <span id="nebulousGoldCost">21.9M</span> Gold.
									</span>
									<br>
									<br>
									<button onclick="getNebulous()" class="btn btn-default">Get Nebulous Synthesizer</button>
									<button onclick="destroyMachine('nebulous')" class="btn btn-default destroy hidden">Destroy Nebulous Synthesizer</button>
								</td>
							</tr>
						</table>
					</div>
				</div>
			</div>
		</div>

		<!-- Research -->
		<div role="tabpanel" class="tab-pane fade" id="research">
			<div class="container" style="width:300px; float:left;">
				<table class="table table-hover text-primary no-select pointer">
					<tr id="scienceNav" onclick="activeResearchTab('scienceNav')" href="#scienceTab" aria-controls="scienceTab" role="tab" data-toggle="tab" style="height:60px;">
						<td style="border:none; vertical-align:middle;">
							<img src="Icons/scienceIcon.png" style="width:30px; height:auto">
						</td>
						<td style="border:none; vertical-align:middle;">
							<span>
								Science Production
							</span>
						</td>
						<td style="border:none; vertical-align:middle; text-align:center;">
							<span>
								<span id="scienceps">0</span>/Sec
							</span>
					</td>
						<td style="border:none; vertical-align:middle; text-align:right;">
							<span id="science">
								0
							</span>
						</td>
					</tr>
					<tr id="technologiesNav" onclick="activeResearchTab('technologiesNav')" href="#technologiesTab" aria-controls="technologiesTab" role="tab" data-toggle="tab" style="height:60px;">
						<td style="vertical-align:middle;">
							<img src="Icons/technologyIcon.png" style="width:30px; height:auto">
						</td>
						<td colspan="3" style="vertical-align:middle;">
							<span>
								Technologies
							</span>
						</td>
					</tr>
				</table>
			</div>
			<div class="tab-content">
				<div id="scienceTab" class="tab-pane fade in" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										Science Production
									</h2>
									<span>
										Science is used for researching new technologies to further your progress in the game.
									</span>
									<br>
									<br>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Home Science Kit: <span id="lab">0</span>
									</h3>
									<span>
										Build a small laboratory of your very own to start producing science.
										<br>
										Each one produces 0.1 science per second.
										<br>
										Costs <span id="labMetalCost">20</span> Metal, <span id="labGemCost">15</span> Gems, <span id="labWoodCost">10</span> Wood.
									</span>
									<br>
									<br>
									<button onclick="getLab()" class="btn btn-default">Build</button>
									<br>
									<br>
								</td>
							</tr>
							<tr id="labTier2" class="hidden">
								<td>
									<h3 class="default btn-link">
										High School Science: <span id="labT2">0</span>
									</h3>
									<span>
										Build a more effective laboratory to continue your quest into the realm of science at a significantly faster speed.
										<br>
										Each one produces 1 science per second.
										<br>
										Costs <span id="labT2MetalCost">1,000</span> Metal, <span id="labT2GemCost">200</span> Gems, <span id="labT2WoodCost">500</span> Wood.
									</span>
									<br>
									<br>
									<button onclick="getLabT2()" class="btn btn-default">Build Laboratory T2</button>
									<br>
									<br>
								</td>
							</tr>
							<tr id="labTier3" class="hidden">
								<td>
									<h3 class="default btn-link">
										University Laboratory: <span id="labT3">0</span>
									</h3>
									<span>
										Build an even better version of the old laboratory to further your exploration of the realm of science.
										<br>
										Each one produces 10 science per second.
										<br>
										Costs <span id="labT3MetalCost">17,000</span> Metal, <span id="labT3GemCost">4,700</span> Gems, <span id="labT3WoodCost">9,600</span> Wood.
									</span>
									<br>
									<br>
									<button onclick="getLabT3()" class="btn btn-default">Build Laboratory T3</button>
								</td>
							</tr>
							<tr id="labTier4" class="hidden">
								<td>
									<h3 class="default btn-link">
										Scientific Observatory: <span id="labT4">0</span>
									</h3>
									<span>
										Create an observatory to gaze upon the stars and acquire knowledge from them.
										<br>
										Each one produces 100 science per second.
										<br>
										Costs <span id="labT4MetalCost">610,000</span> Metal, <span id="labT4GemCost">370,000</span> Gems, <span id="labT4WoodCost">926,000</span> Wood.
									</span>
									<br>
									<br>
									<button onclick="getLabT4()" class="btn btn-default">Build Laboratory T4</button>
								</td>
							</tr>
							<tr id="labTier5" class="hidden">
								<td>
									<h3 class="default btn-link">
										Space Scientific Satellite Station: <span id="labT5">0</span>
									</h3>
									<span>
										From outside Earth's orbit, the universe can be understood much more efficiently without an atmosphere obstructing the lab's view.
										<br>
										Each one produces 1000 science per second.
										<br>
										Costs <span id="labT5MetalCost">12.40M</span> Metal, <span id="labT5GemCost">7.30M</span> Gems, <span id="labT5WoodCost">15.90M</span> Wood.
									</span>
									<br>
									<br>
									<button onclick="getLabT5()" class="btn btn-default">Build Laboratory T5</button>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="technologiesTab" class="tab-pane fade in" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table id="techTable" class="table">
							<tr>
								<td style="border: none;">
									<h2 class="default btn-link">
										Technologies
									</h2>
									<span>
										Research new technologies to unlock more mechanics and advance through the game.
									</span>
								</td>
							</tr>
							<!-- HTML is dynamically generated to fill this table -->
						</table>
					</div>
				</div>
			</div>
		</div>

		<!-- Solar System -->
		<div role="tabpanel" class="tab-pane fade" id="solarSystem">
			<div class="container" style="width:250px; float:left;">
				<table class="table table-hover text-primary no-select pointer">
					<tr id="rocketFuelNav" onclick="activeSolarTab('rocketFuelNav')" href="#rocketFuelTab" aria-controls="rocketFuelTab" role="tab" data-toggle="tab" style="height:60px;">
						<td style="border:none; vertical-align:middle;">
							<img src="Icons/rocketFuelIcon.png" style="width:30px; height:auto">
						</td>
						<td style="border:none; vertical-align:middle;">
							<span>
								Rocket Fuel
							</span>
						</td>
						<td style="border:none; vertical-align:middle; text-align:center;">
							<span>
								<span id="rocketFuelps">0</span>/Sec
							</span>
						</td>
						<td style="border:none; vertical-align:middle; text-align:right;">
							<span id="rocketFuel">
								0
							</span>
						</td>
					</tr>
					<tr id="spaceRocket" onclick="activeSolarTab('spaceRocket')" href="#rocketTab" aria-controls="rocketTab" role="tab" data-toggle="tab" style="height:60px;">
						<td style="vertical-align:middle;">
							<img src="Icons/rocketIcon.png" style="width:30px; height:auto">
						</td>
						<td colspan="3" style="vertical-align:middle;">
							<span>
								Space Rocket
							</span>
						</td>
					</tr>
					<tr id="collapseInner" class="collapseInner hidden" style="border:none;">
						<td colspan="4">
							<span>Collapse Inner Solar System</span> <span class="caret"></span>
						</td>
					</tr>
					<tr class="hidden" id="moon" onclick="activeSolarTab('moon')" href="#moonTab" aria-controls="moonTab" role="tab" data-toggle="tab" style="height:60px;">
						<td style="vertical-align:middle;">
							<img src="Icons/moonIcon.png" style="width:30px; height:auto">
						</td>
						<td colspan="3" style="vertical-align:middle;">
							<span>
								The Moon
							</span>
						</td>
					</tr>
					<tr class="hidden" id="mercury" onclick="activeSolarTab('mercury')" href="#mercuryTab" aria-controls="mercuryTab" role="tab" data-toggle="tab" style="height:60px;">
						<td style="vertical-align:middle;">
							<img src="Icons/mercuryIcon.png" style="width:30px; height:auto">
						</td>
						<td colspan="3" style="vertical-align:middle;">
							<span>
								Mercury
							</span>
						</td>
					</tr>
					<tr class="hidden" id="venus" onclick="activeSolarTab('venus')" href="#venusTab" aria-controls="venusTab" role="tab" data-toggle="tab" style="height:60px;">
						<td style="vertical-align:middle;">
							<img src="Icons/venusIcon.png" style="width:30px; height:auto">
						</td>
						<td colspan="3" style="vertical-align:middle;">
							<span>
								Venus
							</span>
						</td>
					</tr>
					<tr class="hidden" id="mars" onclick="activeSolarTab('mars')" href="#marsTab" aria-controls="marsTab" role="tab" data-toggle="tab" style="height:60px;">
						<td style="vertical-align:middle;">
							<img src="Icons/marsIcon.png" style="width:30px; height:auto">
						</td>
						<td colspan="3" style="vertical-align:middle;">
							<span>
								Mars
							</span>
						</td>
					</tr>
					<tr class="hidden" id="asteroidBelt" onclick="activeSolarTab('asteroidBelt')" href="#asteroidBeltTab" aria-controls="asteroidBeltTab" role="tab" data-toggle="tab" style="height:60px;">
						<td style="vertical-align:middle;">
							<img src="Icons/asteroidBeltIcon.png" style="width:30px; height:auto">
						</td>
						<td colspan="3" style="vertical-align:middle;">
							<span>
								Asteroid Belt
							</span>
						</td>
					</tr>
					<tr class="hidden" id="wonderStation" onclick="activeSolarTab('wonderStation')" href="#wonderStationTab" aria-controls="wonderStationTab" role="tab" data-toggle="tab" style="height:60px;">
						<td style="vertical-align:middle;">
							<img src="Icons/wonderStationIcon.png" style="width:30px; height:auto">
						</td>
						<td colspan="3" style="vertical-align:middle;">
							<span>
								The Wonder Station
							</span>
						</td>
					</tr>
					<tr id="collapseOuter" class="collapseOuter hidden" style="border:none;">
						<td colspan="4">
							<span>Collapse Outer Solar System</span> <span class="caret"></span>
						</td>
					</tr>
					<tr class="hidden" id="jupiter" onclick="activeSolarTab('jupiter')" href="#jupiterTab" aria-controls="jupiterTab" role="tab" data-toggle="tab" style="height:60px;">
						<td style="vertical-align:middle;">
							<img src="Icons/jupiterIcon.png" style="width:30px; height:auto">
						</td>
						<td colspan="3" style="vertical-align:middle;">
							<span>
								Jupiter
							</span>
						</td>
					</tr>
					<tr class="hidden" id="saturn" onclick="activeSolarTab('saturn')" href="#saturnTab" aria-controls="saturnTab" role="tab" data-toggle="tab" style="height:60px;">
						<td style="vertical-align:middle;">
							<img src="Icons/saturnIcon.png" style="width:30px; height:auto">
						</td>
						<td colspan="3" style="vertical-align:middle;">
							<span>
								Saturn
							</span>
						</td>
					</tr>
					<tr class="hidden" id="uranus" onclick="activeSolarTab('uranus')" href="#uranusTab" aria-controls="uranusTab" role="tab" data-toggle="tab" style="height:60px;">
						<td style="vertical-align:middle;">
							<img src="Icons/uranusIcon.png" style="width:30px; height:auto">
						</td>
						<td colspan="3" style="vertical-align:middle;">
							<span>
								Uranus
							</span>
						</td>
					</tr>
					<tr class="hidden" id="neptune" onclick="activeSolarTab('neptune')" href="#neptuneTab" aria-controls="neptuneTab" role="tab" data-toggle="tab" style="height:60px;">
						<td style="vertical-align:middle;">
							<img src="Icons/neptuneIcon.png" style="width:30px; height:auto">
						</td>
						<td colspan="3" style="vertical-align:middle;">
							<span>
								Neptune
							</span>
						</td>
					</tr>
					<tr class="hidden" id="pluto" onclick="activeSolarTab('pluto')" href="#plutoTab" aria-controls="plutoTab" role="tab" data-toggle="tab" style="height:60px;">
						<td style="vertical-align:middle;">
							<img src="Icons/plutoIcon.png" style="width:30px; height:auto">
						</td>
						<td colspan="3" style="vertical-align:middle;">
							<span>
								Pluto
							</span>
						</td>
					</tr>
					<tr class="hidden" id="kuiperBelt" onclick="activeSolarTab('kuiperBelt')" href="#kuiperBeltTab" aria-controls="kuiperBeltTab" role="tab" data-toggle="tab" style="height:60px;">
						<td style="vertical-align:middle;">
							<img src="Icons/kuiperBeltIcon.png" style="width:30px; height:auto">
						</td>
						<td colspan="3" style="vertical-align:middle;">
							<span>
								Kuiper Belt
							</span>
						</td>
					</tr>
					<tr class="hidden" id="solCenter" onclick="activeSolarTab('solCenter')" href="#solCenterTab" aria-controls="solCenterTab" role="tab" data-toggle="tab" style="height:60px;">
						<td style="vertical-align:middle;">
							<img src="Icons/solCenterIcon.png" style="width:30px; height:auto">
						</td>
						<td colspan="3" style="vertical-align:middle;">
							<span>
								Sol Scientific Center
							</span>
						</td>
					</tr>
				</table>
			</div>
			<div class="tab-content">
				<div id="rocketFuelTab" class="tab-pane fade in" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										Rocket Fuel
									</h2>
									<span>
										Rocket fuel is created in chemical plants and is used to allow rockets to launch off into space and to travel to other planets and star systems.
									</span>
									<br>
									<br>
									<button onclick="toggleRocketFuel()" class="btn btn-default">Turn Rocket Fuel <span id="rocketFuelToggled">Off</span></button>
									<br>
									<br>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Chemical Plant: <span id="chemicalPlant">0</span>
									</h3>
									<span>
										Chemical plants are used to make rocket fuel automatically.
										<br>
										They use 20 Oil and 20 Charcoal each second.
										<br>
										They produce 0.2 Rocket Fuel per second.
										<br>
										Costs <span id="chemicalPlantMetalCost">1,000</span> Metal, <span id="chemicalPlantGemCost">750</span> Gems, <span id="chemicalPlantOilCost">500</span> Oil.
									</span>
									<br>
									<br>
									<button onclick="getChemicalPlant()" class="btn btn-default">Build Chemical Plant</button>
									<button onclick="destroyMachine('chemicalPlant')" class="btn btn-default destroy hidden">Destroy Chemical Plant</button>
									<br>
									<br>
								</td>
							</tr>
							<tr id="rocketFuelT2" class="hidden">
								<td>
									<h3 class="default btn-link">
										Oxidisation Chamber: <span id="oxidisation">0</span>
									</h3>
									<span>
										Oxidisation Chambers make rocket fuel faster and more efficiently than chemical plants.
										<br>
										They use 100 Oil and 100 Charcoal each second.
										<br>
										They produce 1.5 Rocket Fuel per second.
										<br>
										Costs <span id="oxidisationMetalCost">12,000</span> Metal, <span id="oxidisationGemCost">8,300</span> Gems, <span id="oxidisationOilCost">6,800</span> Oil.
									</span>
									<br>
									<br>
									<button onclick="getOxidisation()" class="btn btn-default">Build Oxidisation Chamber</button>
									<button onclick="destroyMachine('oxidisation')" class="btn btn-default destroy hidden">Destroy Oxidisation Chamber</button>
									<br>
									<br>
								</td>
							</tr>
							<tr id="rocketFuelT3" class="hidden">
								<td>
									<h3 class="default btn-link">
										Hydrazine Catalyst: <span id="hydrazine">0</span>
									</h3>
									<span>
										These speed up the chemical reactions needed to make rocket fuel by using greenhouse gases such as methane.
										<br>
										They use 520 Methane each second.
										<br>
										They produce 20 Rocket Fuel per second.
										<br>
										Costs <span id="hydrazineTitaniumCost">140,000</span> Titanium, <span id="hydrazineSiliconCost">96,300</span> Silicon, <span id="hydrazineGoldCost">78,600</span> Gold.
									</span>
									<br>
									<br>
									<button onclick="getHydrazine()" class="btn btn-default">Build Hydrazine Catalyst</button>
									<button onclick="destroyMachine('hydrazine')" class="btn btn-default destroy hidden">Destroy Hydrazine Catalyst</button>
									<br>
									<br>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="rocketTab" class="tab-pane fade in" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										Rocket
									</h2>
									<span>
										Building a rocket will allow for exploration around the solar system and will allow you to gather resources in space.
										<br>
										<b>NB: You only need 1 Rocket. You can reuse the same one by just using fuel.</b>
									</span>
									<br>
									<br>
								</td>
							</tr>
							<tr id="solarRocket">
								<td>
									<h3 class="default btn-link">
										Rocket: <span id="rocket">Not Built</span>
									</h3>
									<span>
										To launch the rocket into space, it must first be built.
										<br>
										Costs <span id="rocketMetalCost">1,200</span> Metal, <span id="rocketGemCost">900</span> Gems, <span id="rocketOilCost">1,000</span> Oil.
									</span>
									<br>
									<br>
									<button onclick="getRocket()" class="btn btn-default">Build Rocket</button>
									<br>
									<br>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Launch Rocket
									</h3>
									<span>
										Launching the rocket into space will unlock space mining, exploration and other planets.
										<br>
										This requires <span id="rocketRocketCost" class="red">1</span> rocket and <span id="rocketRocketFuelCost" class="red">20</span> rocket fuel.
									</span>
									<br>
									<br>
									<button onclick="launchRocket()" class="btn btn-default">Launch Rocket</button>
									<br>
									<br>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="moonTab" class="tab-pane fade in" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										The Moon
									</h2>
									<span>
										The Moon is our largest satellite, revolving around the Earth once every 27 days. It contains a large quantity of Lunarite, left over from when it separated from the Earth billions of years ago. It is much stronger than regular metal and used to build more advanced machines.
									</span>
									<br>
									<br>
								</td>
							</tr>
							<tr id="exploreMoon">
								<td>
									<h3 class="default btn-link">
										Exploration
									</h3>
									<span>
										Exploring the Moon will unlock the collection of Lunarite.
										<br>
										Costs <span id="moonRocketFuelCost">20</span> rocket fuel.
									</span>
									<br>
									<br>
									<button onclick="explore('Moon')" class="btn btn-default">Explore Moon</button>
									<br>
									<br>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="mercuryTab" class="tab-pane fade in" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										Mercury
									</h2>
									<span>
										Mercury is a lifeless rock with little to no value. It is not worth exploring on the ground as there are no valuable materials present.
									</span>
									<br>
									<br>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="venusTab" class="tab-pane fade in" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										Venus
									</h2>
									<span>
										Venus is the hottest planet in the solar system and the closest one to Earth. It is rich in greenhouse gases, contributing to its extreme heat. You can extract methane from Venus, which allows you to build up a new form of power generation.
									</span>
									<br>
									<br>
								</td>
							</tr>
							<tr id="exploreVenus">
								<td>
									<h3 class="default btn-link">
										Exploration
									</h3>
									<span>
										Exploring Venus will unlock methane and methane based power.
										<br>
										Costs <span id="venusRocketFuelCost">50</span> rocket fuel.
									</span>
									<br>
									<br>
									<button onclick="explore('Venus')" class="btn btn-default">Explore Venus</button>
									<br>
									<br>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="marsTab" class="tab-pane fade in" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										Mars
									</h2>
									<span>
										Mars is the second closest planet to Earth and is covered in red iron oxide, also called rust. You can find Titanium on the surface, but it is more common inside the crust. Titanium will allow for Methane power plants and Silicon production.
									</span>
									<br>
									<br>
								</td>
							</tr>
							<tr id="exploreMars">
								<td>
									<h3 class="default btn-link">
										Exploration
									</h3>
									<span>
										Exploring Mars unlocks Titanium production, which allows you to harvest Silicon on Earth and to build Methane power plants.
										<br>
										Costs <span id="marsRocketFuelCost">80</span> rocket fuel.
									</span>
									<br>
									<br>
									<button onclick="explore('Mars')" class="btn btn-default">Explore Mars</button>
									<br>
									<br>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="asteroidBeltTab" class="tab-pane fade in" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										Asteroid Belt
									</h2>
									<span>
										The asteroid belt is a vast space with nearly 2 million asteroids. There you can harvest rare metals on Earth more easily, such as Gold and Silver.
									</span>
									<br>
									<br>
								</td>
							</tr>
							<tr id="exploreAsteroidBelt">
								<td>
									<h3 class="default btn-link">
										Exploration
									</h3>
									<span>
										Exploring the asteroid belt gives you access to Gold and Silver.
										<br>
										Costs <span id="asteroidBeltRocketFuelCost">200</span> rocket fuel.
									</span>
									<br>
									<br>
									<button onclick="explore('AsteroidBelt')" class="btn btn-default">Explore Asteroid Belt</button>
									<br>
									<br>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="wonderStationTab" class="tab-pane fade in" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										The Wonder Station
									</h2>
									<span>
										The Wonder Station is a large, mysterious construct, orbiting inside the Asteroid Belt. What it contains isn't known exactly, but carvings on ancient artifacts depict something similar. They say that there, you will learn about an almost supernatural, extra-terrestrial overlord, commanding over the galaxy. They say that he will be able to teach you many things on your journey to inter-star and galactic exploration.
									</span>
									<br>
									<br>
								</td>
							</tr>
							<tr id="exploreWonderStation">
								<td>
									<h3 class="default btn-link">
										Exploration
									</h3>
									<span>
										Exploring the Wonder Station will gives you access to Wonders and allow you to continue your research and travel even further than before.
										<br>
										Costs <span id="wonderStationRocketFuelCost">500</span> rocket fuel.
									</span>
									<br>
									<br>
									<button onclick="explore('WonderStation')" class="btn btn-default">Explore The Wonder Station</button>
									<br>
									<br>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="jupiterTab" class="tab-pane fade in" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										Jupiter
									</h2>
									<span>
										The largest planet in the solar system, one of four gas giants.
									</span>
									<br>
									<br>
								</td>
							</tr>
							<tr id="exploreJupiter">
								<td>
									<h3 class="default btn-link">
										Exploration
									</h3>
									<span>
										Exploring Jupiter gives you access to Hydrogen.
										<br>
										Costs <span id="jupiterRocketFuelCost">1000</span> rocket fuel.
									</span>
									<br>
									<br>
									<button onclick="explore('Jupiter')" class="btn btn-default">Explore Jupiter</button>
									<br>
									<br>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="saturnTab" class="tab-pane fade in" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										Saturn
									</h2>
									<span>
										The second largest planet in the solar system, next to Jupiter. It is one of the few celestial bodies in our solar system to have rings and is the least dense planet in the solar system. You can find Helium here.
									</span>
									<br>
									<br>
								</td>
							</tr>
							<tr id="exploreSaturn">
								<td>
									<h3 class="default btn-link">
										Exploration
									</h3>
									<span>
										Exploring Saturn gives you access to Helium.
										<br>
										Costs <span id="saturnRocketFuelCost">2000</span> rocket fuel.
									</span>
									<br>
									<br>
									<button onclick="explore('Saturn')" class="btn btn-default">Explore Saturn</button>
									<br>
									<br>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="uranusTab" class="tab-pane fade in" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										Uranus
									</h2>
									<span>
										The planet that rotates differently from everyone else has winds up to 300 miles per hour (483kph). Its composition is much like that of the other gas giants, mainly composed of Hydrogen and Helium. Because of this, it is not worth exploring to get the same resources as in Saturn and Jupiter.
									</span>
									<br>
									<br>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="neptuneTab" class="tab-pane fade in" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										Neptune
									</h2>
									<span>
										Neptune has the strangest weather in the solar system. There are huge storms and winds that are more violent than any other in the solar system. There is not much there but Methane, Hydrogen and Helium.
									</span>
									<br>
									<br>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="plutoTab" class="tab-pane fade in" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										Pluto
									</h2>
									<span>
										Pluto is the smallest of the widely known celestial bodies, being smaller than the moon. Classed as a dwarf planet, it orbits in the far reaches of the solar system. However, there may be more of interest on the surface than humans think.
									</span>
									<br>
									<br>
								</td>
							</tr>
							<tr id="explorePluto">
								<td>
									<h3 class="default btn-link">
										Exploration
									</h3>
									<span>
										No-one knows what lies near and around pluto as it is so far away. On there surface, there is almost only ice, but maybe an exploration will teach us more about the unknown.
										<br>
										Costs <span id="plutoRocketFuelCost">5000</span> rocket fuel.
									</span>
									<br>
									<br>
									<button onclick="explore('Pluto')" class="btn btn-default">Explore Pluto</button>
									<br>
									<br>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="kuiperBeltTab" class="tab-pane fade in" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										Kuiper Belt
									</h2>
									<span>
										In the large asteroid belt extending beyond Pluto, you see a large purple structure with a huge glass dome on one of the asteroids. This seems worth checking out. There could be something interesting there.
									</span>
									<br>
									<br>
								</td>
							</tr>
							<tr id="exploreKuiperBelt">
								<td>
									<h3 class="default btn-link">
										Exploration
									</h3>
									<span>
										Exploring the Kuiper Belt gives you access to the hidden base
										<br>
										Costs <span id="kuiperBeltRocketFuelCost">6000</span> rocket fuel.
									</span>
									<br>
									<br>
									<button onclick="explore('KuiperBelt')" class="btn btn-default">Explore Kuiper Belt</button>
									<br>
									<br>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="solCenterTab" class="tab-pane fade in" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										The Sol Scientific Center
									</h2>
									<span>
										Welcome to our home. Our race is dedicated to scientific progress and interacting with others. If you wish to trade with us, we can provide you blueprints for technology that few in the galaxy have ever seen.
									</span>
									<br>
									<br>
								</td>
							</tr>
							<tr id="exploreSolCenter">
								<td>
									<h3 class="default btn-link">
										Exploration
									</h3>
									<span>
										Exploring the Sol Center gives you access to the hidden base.
										<br>
										Costs <span id="solCenterRocketFuelCost">7000</span> rocket fuel.
									</span>
									<br>
									<br>
									<button onclick="explore('SolCenter')" class="btn btn-default">Explore Sol Center</button>
									<br>
									<br>
								</td>
							</tr>
						</table>
					</div>
				</div>
			</div>
		</div>

		<!-- Wonders -->
		<div role="tabpanel" class="tab-pane fade" id="wonder">
			<div class="container" style="width:250px; float:left;">
				<table class="table table-hover text-primary no-select pointer">
					<tr id="theWonderStation" onclick="activeWonderTab('theWonderStation')" href="#theWonderStationTab" aria-controls="theWonderStationTab" role="tab" data-toggle="tab" style="height:60px; border:none;">
						<td style="border:none; vertical-align:middle;">
							<span>
								Wonder Station
							</span>
						</td>
					</tr>
					<tr id="wonderFloor1Nav" class="hidden">
						<th>
							<span>
								Wonder Station - Floor 1
							</span>
						</th>
					</tr>
					<tr id="preciousWonderNav" onclick="activeWonderTab('preciousWonderNav')" class="sideTab hidden" href="#preciousWonderTab" aria-controls="preciousWonderTab" role="tab" data-toggle="tab" style="height:60px;">
						<td colspan="2" style="vertical-align:middle;">
							<span>
								Precious Wonder: <span id="preciousActivation">Dormant</span>
							</span>
						</td>
					</tr>
					<tr id="energeticWonderNav" onclick="activeWonderTab('energeticWonderNav')" class="sideTab hidden" href="#energeticWonderTab" aria-controls="energeticWonderTab" role="tab" data-toggle="tab" style="height:60px;">
						<td colspan="2" style="vertical-align:middle;">
							<span>
								Energetic Wonder: <span id="energeticActivation">Dormant</span>
							</span>
						</td>
					</tr>
					<tr id="techWonderNav" onclick="activeWonderTab('techWonderNav')" class="sideTab hidden" href="#techWonderTab" aria-controls="techWonderTab" role="tab" data-toggle="tab" style="height:60px;">
						<td colspan="2" style="vertical-align:middle;">
							<span>
								Technological Wonder: <span id="techActivation">Dormant</span>
							</span>
						</td>
					</tr>
					<tr id="meteoriteWonderNav" onclick="activeWonderTab('meteoriteWonderNav')" class="sideTab hidden" href="#meteoriteWonderTab" aria-controls="meteoriteWonderTab" role="tab" data-toggle="tab" style="height:60px;">
						<td colspan="2" style="vertical-align:middle;">
							<span>
								Meteorite Wonder: <span id="meteoriteActivation">Dormant</span>
							</span>
						</td>
					</tr>
					<tr id="wonderFloor2Nav" class="hidden">
						<th>
							<span>
								Wonder Station - Floor 2
							</span>
						</th>
					</tr>
					<tr id="communicationWonderNav" onclick="activeWonderTab('communicationWonderNav')" class="sideTab hidden" href="#communicationWonderTab" aria-controls="communicationWonderTab" role="tab" data-toggle="tab" style="height:60px;">
						<td colspan="2" style="vertical-align:middle;">
							<span>
								Comms Wonder: <span id="commsActivation">Dormant</span>
							</span>
						</td>
					</tr>
					<tr id="rocketWonderNav" onclick="activeWonderTab('rocketWonderNav')" class="sideTab hidden" href="#rocketWonderTab" aria-controls="rocketWonderTab" role="tab" data-toggle="tab" style="height:60px;">
						<td colspan="2" style="vertical-align:middle;">
							<span>
								Rocket Wonder: <span id="rocketActivation">Dormant</span>
							</span>
						</td>
					</tr>
					<tr id="antimatterWonderNav" onclick="activeWonderTab('antimatterWonderNav')" class="sideTab hidden" href="#antimatterWonderTab" aria-controls="antimatterWonderTab" role="tab" data-toggle="tab" style="height:60px;">
						<td colspan="2" style="vertical-align:middle;">
							<span>
								Antimatter Wonder: <span id="antimatterActivation">Dormant</span>
							</span>
						</td>
					</tr>
					<tr id="portalRoomNav" onclick="activeWonderTab('portalRoomNav')" class="sideTab hidden" href="#portalRoomTab" aria-controls="portalRoomTab" role="tab" data-toggle="tab" style="height:60px;">
						<td colspan="2" style="vertical-align:middle;">
							<span>
								Portal Room: <span id="portalRoomActivation">Dormant</span>
							</span>
						</td>
					</tr>
					<tr id="wonderFloor3Nav" class="hidden">
						<th>
							<span>
								Wonder Station - Floor 3
							</span>
						</th>
					</tr>
					<tr id="stargateNav" onclick="activeWonderTab('stargateNav')" class="sideTab hidden" href="#stargateTab" aria-controls="stargateTab" role="tab" data-toggle="tab" style="height:60px;">
						<td colspan="2" style="vertical-align:middle;">
							<span>
								Stargate: <span id="stargateActivation">Dormant</span>
							</span>
						</td>
					</tr>
				</table>
			</div>
			<div class="tab-content">
				<div id="theWonderStationTab" class="tab-pane fade in active" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										Inside The Wonder Station
									</h2>
									<span>
										As you enter the revolving pyramids, floating through space, you feel a small tug on your spacecraft as it gravitates towards an opening doorway in the side of the lowest section. Exiting your spacecraft, you experience the artificial gravity and walk to the large hallway ahead. Adorning the walls are four huge paintings of monolithic structures in the corners of the room with descriptions underneath. At the far end of the room is a giant door, closed without any indication of being able to open. You feel that there is a higher being watching over you as you walk through the room.
										<br>
										<b>NB: You must activate the wonders after building them to receive their effects</b>
									</span>
									<br>
									<br>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Precious Metals Wonder
									</h3>
									<span>
										The first painting depicts a large, shiny structure and the plaque reads:
										<br>
										"While I am rich beyond comparison, I still value adding precious resources to my collection. In return for your Gems, Silver, and Gold, I will teach you about something that lies inside your own planet, allowing you to find a rare resource and dangerous element previously unfound."
										<br>
										<br>
										<hide id="preciousWonderButton">
											He requires that you donate <span id="preciousGemCost">10,000</span> Gems, <span id="preciousSilverCost">7,500</span> Silver and <span id="preciousGoldCost">5,000</span> Gold for this knowledge.
											<br>
											<br>
											<button onclick="achievePreciousWonder()" class="btn btn-default">Donate Resources</button>
											<br>
											<br>
											<div id="preciousProgress" class="progress">
												<div id="preciousBar" class="progress-bar progress-bar-striped active" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width:0%">
												    0%
												</div>
											</div>
										</hide>
									</span>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Energetic Wonder
									</h3>
									<span>
										A pulsating image depicts a huge pyramid, with sparks of lightning. What could the Overlord want now?
										<br>
										"Having drained many stars of their energy, I want a structure built in honor of the energy I have taken from the galaxy with my mighty power. In return for building this, I will grant you ways to generate a form of power no man has been able to harness before."
										<br>
										<br>
										<hide id="energeticWonderButton">
											He requests a pyramid containing <span id="energeticWoodCost">10,000</span> Wood, <span id="energeticCharcoalCost">5,000</span> Charcoal and <span id="energeticUraniumCost">200</span> Uranium to acquire his methods.
											<br>
											<br>
											<button onclick="achieveEnergeticWonder()" class="btn btn-default">Donate Resources</button>
											<br>
											<br>
											<div id="energeticProgress" class="progress">
												<div id="energeticBar" class="progress-bar progress-bar-striped active" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width:0%">
											    	0%
												</div>
											</div>
										</hide>
									</span>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Technological Wonder
									</h3>
									<span>
										A green-tinted picture shows the inside of some computer system.
										<br>
										"With my technological superiority over anyone in the cosmos, I want a monument dedicated to the advanced computer systems I control. As a reward, I will teach you about computerized machines and give you the ability to make more advanced resource gatherers."
										<br>
										<br>
										<hide id="techWonderButton">
											He requests a tower consisting of <span id="techSiliconCost">30,000</span> Silicon, <span id="techGoldCost">18,000</span> Gold and <span id="techGemCost">40,000</span> Gems to unlock this technology.
											<br>
											<br>
											<button onclick="achieveTechWonder()" class="btn btn-default">Donate Resources</button>
											<br>
											<br>
											<div id="techProgress" class="progress">
												<div id="techBar" class="progress-bar progress-bar-striped active" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width:0%">
											    	0%
												</div>
											</div>
										</hide>
									</span>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Meteorite Wonder
									</h3>
									<span>
										A blazing red portrait depicts a futuristic set of machines.
										<br>
										"You have accomplished much so far, but now you face building a great structure to last generations. For my next monument, I will gift you with a new type of machine only seen in science-fiction. Meteorite machines use the energy installed in them to convert plasma into raw power useful in extracting resources."
										<br>
										<br>
										<hide id="meteoriteWonderButton">
											The Overlord wishes for a cube made up of <span id="meteoriteMeteoriteCost">5,000</span> Meteorite, <span id="meteoriteIceCost">600,000</span> Ice and <span id="meteoriteSiliconCost">1,200,000</span> Silicon to be given this technology.
											<br>
											<br>
											<button onclick="achieveMeteoriteWonder()" class="btn btn-default">Donate Resources</button>
											<br>
											<br>
											<div id="meteoriteProgress" class="progress">
												<div id="meteoriteBar" class="progress-bar progress-bar-striped active" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width:0%">
											    	0%
												</div>
											</div>
										</hide>
									</span>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="preciousWonderTab" class="tab-pane fade in" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										The Precious Wonder
									</h2>
									<span>
										The Overlord is pleased with his new riches and offers you the ability to produce satellites, which orbit the globe and can find new resources.
									</span>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Activate Wonder
									</h3>
									<span>
										Activating this wonder will teach you about Uranium, how to get it and how to harness it. Learning about this rare element found deep within Earth will unlock nuclear power, a new way to create Energy.
										<br>
										<hide id="activatePreciousWonder">
											Costs: <span id="preciousActivateGemCost">30,000</span> Gems, <span id="preciousActivateSilverCost">20,000</span> Silver, <span id="preciousActivateGoldCost">10,000</span> Gold.
											<br>
											<br>
											<button onclick="activatePreciousWonder()" class="btn btn-default">Activate Precious Wonder</button>
											<br>
											<br>
											<div id="preciousActivateProgress" class="progress">
											  <div id="preciousActivateBar" class="progress-bar progress-bar-striped active" role="progressbar"
											  aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width:0%">
											    0%
											  </div>
											</div>
										</hide>
									</span>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="energeticWonderTab" class="tab-pane fade in" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										The Energetic Wonder
									</h2>
									<span>
										Now with a pyramid of energy at his disposal, the Overlord grants you some of his technology to produce electricity.
									</span>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Activate Wonder
									</h3>
									<span>
										Activating this wonder will allow you to harness the power of Lava, a new method of Energy generation.
										<br>
										<hide id="activateEnergeticWonder">
											Costs: <span id="energeticActivateWoodCost">30,000</span> Wood, <span id="energeticActivateCharcoalCost">15,000</span> Charcoal, <span id="energeticActivateUraniumCost">500</span> Uranium.
											<br>
											<br>
											<button onclick="activateEnergeticWonder()" class="btn btn-default">Activate Energetic Wonder</button>
											<br>
											<br>
											<div id="energeticActivateProgress" class="progress">
											  <div id="energeticActivateBar" class="progress-bar progress-bar-striped active" role="progressbar"
											  aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width:0%">
											    0%
											  </div>
											</div>
										</hide>
									</span>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="techWonderTab" class="tab-pane fade in" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										The Technological Wonder
									</h2>
									<span>
										Proud of his new monument, the Overlord teaches you the ways of computerized machines and advanced gathering of resources.
									</span>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Activate Wonder
									</h3>
									<span>
										Activating this wonder will allow you to build Tier 3 Machines, a much more effective method of collecting resources.
										<br>
										<hide id="activateTechWonder">
											Costs: <span id="techActivateSiliconCost">50,000</span> Silicon, <span id="techActivateGoldCost">30,000</span> Gold, <span id="techActivateGemCost">60,000</span> Gems.
											<br>
											<br>
											<button onclick="activateTechWonder()" class="btn btn-default">Activate Technological Wonder</button>
											<br>
											<br>
											<div id="techActivateProgress" class="progress">
											  <div id="techActivateBar" class="progress-bar progress-bar-striped active" role="progressbar"
											  aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width:0%">
											    0%
											  </div>
											</div>
										</hide>
									</span>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="meteoriteWonderTab" class="tab-pane fade in" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										The Meteorite Wonder
									</h2>
									<span>
										The Overlord, watching his newly built wonder, offers you the possibility for a new wave of machines that best any before them.
									</span>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Activate Wonder
									</h3>
									<span>
										Activating this wonder gives you the ability to construct 4th Tier resource gathering machines, which are better and more efficient than anything before it.
										<br>
										<hide id="activateMeteoriteWonder">
											Costs: <span id="meteoriteActivateMeteoriteCost">10,000</span> Meteorite, <span id="meteoriteActivateIceCost">2,000,000</span> Ice, <span id="meteoriteActivateSiliconCost">4,000,000</span> Silicon.
											<br>
											<br>
											<button onclick="activateMeteoriteWonder()" class="btn btn-default">Activate Meteorite Wonder</button>
											<br>
											<br>
											<div id="meteoriteActivateProgress" class="progress">
											  <div id="meteoriteActivateBar" class="progress-bar progress-bar-striped active" role="progressbar"
											  aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width:0%">
											    0%
											  </div>
											</div>
										</hide>
									</span>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="communicationWonderTab" class="tab-pane fade in" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										The Communication Wonder
									</h2>
									<span>
										In the center of the room, you see a smouldered antenna dish, lying on the floor. A plaque next to it says 'Original Comms Relay between my first two star systems'. A loud voice booms again from the speakers at the far corners of the floor: 'This is one of my most prized memorabilia, reminding me of the first message I sent between star systems'. I will be elated if you repair this for me, and in return, I will help you on your mission to colonise the stars.
									</span>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Rebuild Communication Wonder
									</h3>
									<span>
										For rebuilding the Communication Wonder, you will be able to talk and listen to aliens in other star systems and determine whether there is sentient life outside of our solar system.
										<br>
										<hide id="rebuildCommsWonder">
											Costs: <span id="commsWonderGoldCost">6M</span> Gold, <span id="commsWonderSiliconCost">10M</span> Silicon, <span id="commsWonderIceCost">6M</span> Ice.
											<br>
											<br>
											<button onclick="rebuildCommsWonder()" class="btn btn-default">Rebuild Communication Wonder</button>
											<br>
											<br>
											<div id="commsWonderProgress" class="progress">
											  <div id="commsWonderBar" class="progress-bar progress-bar-striped active" role="progressbar"
											  aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width:0%">
											    0%
											  </div>
											</div>
										</hide>
									</span>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="rocketWonderTab" class="tab-pane fade in" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										The Rocket Wonder
									</h2>
									<span>
										Up on the second floor, you find a disarray of broken machines and scattered parts on the floor. You can reassemble what seems to be a rocket engine lying next to you. The booming voice of the Overlord comes over the speakers in the room: 'Greetings, friend. As you can see, this floor has largely fallen into disorder. If you fix it for me, you will be handsomely rewarded. Your first task is to repair the wonder to your right. It used to be a rocket engine, but I'm not sure where the pieces are. You may need additional research to build this once more, but I'm sure you will figure it out just fine.'
									</span>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Rebuild Rocket Wonder
									</h3>
									<span>
										For rebuilding the Rocket Wonder, you will discover advanced technologies where you can learn how to move beyond your tiny star system.
										<br>
										<hide id="rebuildRocketWonder">
											Costs: <span id="rocketWonderLunariteCost">8M</span> Lunarite, <span id="rocketWonderTitaniumCost">6M</span> Titanium, <span id="rocketWonderMetalCost">12M</span> Metal.
											<br>
											<br>
											<button onclick="rebuildRocketWonder()" class="btn btn-default">Rebuild Rocket Wonder</button>
											<br>
											<br>
											<div id="rocketWonderProgress" class="progress">
											  <div id="rocketWonderBar" class="progress-bar progress-bar-striped active" role="progressbar"
											  aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width:0%">
											    0%
											  </div>
											</div>
										</hide>
									</span>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="antimatterWonderTab" class="tab-pane fade in" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										The Antimatter Wonder
									</h2>
									<span>
										In the corner of the floor, you see a faintly glowing, large canister, propped up against the walls. The announcing message plays after pressing a red button next to it: 'This was my first antimatter tank for the maiden voyage of "The Interstellar", on my first trip to another star system. For repairing it and bringing back the memories, I will teach you about your own antimatter production to fuel your dreams of escaping your small piece of the universe.'
									</span>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Rebuild Antimatter Wonder
									</h3>
									<span>
										For rebuilding the Antimatter Wonder, you will gain access to antimatter production and storage.
										<br>
										<hide id="rebuildAntimatterWonder">
											Costs: <span id="antimatterWonderUraniumCost">6M</span> Uranium, <span id="antimatterWonderLavaCost">10M</span> Lava, <span id="antimatterWonderOilCost">8M</span> Oil, <span id="antimatterWonderMethaneCost">6M</span> Methane.
											<br>
											<br>
											<button onclick="rebuildAntimatterWonder()" class="btn btn-default">Rebuild Antimatter Wonder</button>
											<br>
											<br>
											<div id="antimatterWonderProgress" class="progress">
											  <div id="antimatterWonderBar" class="progress-bar progress-bar-striped active" role="progressbar"
											  aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width:0%">
											    0%
											  </div>
											</div>
										</hide>
									</span>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="portalRoomTab" class="tab-pane fade in" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										The Portal Room
									</h2>
									<span>
										An obsidian-looking giant-sized frame stands out in the room, mounted on the far wall of the floor. It's plaque reads: 'This is the pathway to the third and final floor of my mystical Wonder Station. It takes many resources to activate it, but once completed, will grant you access to the Stargate Room: The only way you will find your way out of this pathetic solar system and explore the cosmos'.
									</span>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Activate Portal
									</h3>
									<span>
										Activating the Portal will allow you to go through it to get to the Third Floor of the Wonder Station, detached from the rest of the tetrahedral monolith.
										<br>
										<hide id="activatePortal">
											Costs: <span id="portalMeteoriteCost">500K</span> Meteorite, <span id="portalHeliumCost">8M</span> Helium, <span id="portalSiliconCost">6M</span> Silicon.
											<br>
											<br>
											<button onclick="activatePortal()" class="btn btn-default">Activate Portal</button>
											<br>
											<br>
											<div id="portalProgress" class="progress">
											  <div id="portalBar" class="progress-bar progress-bar-striped active" role="progressbar"
											  aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width:0%">
											    0%
											  </div>
											</div>
										</hide>
									</span>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="stargateTab" class="tab-pane fade in" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										The Stargate Room
									</h2>
									<span>
										The final floor, despite being the smallest of the three, appears to be the trophy room, displaying an imposing control panel and a large table.<br>
										<strong>NB: The Wonder Tab will disappear after completing this wonder. Make sure all others are completed first.</strong>
									</span>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Rebuild Stargate Wonder
									</h3>
									<span>
										For rebuilding the Stargate, you will be able to explore outer space, beyond your own solar system.
										<br>
										<hide id="rebuildStargate">
											Costs: <span id="stargateWonderPlasmaCost">500,000</span> Plasma, <span id="stargateWonderSiliconCost">920.0M</span> Silicon, <span id="stargateWonderMeteoriteCost">17.00M</span> Meteorite.
											<br>
											<br>
											<button onclick="rebuildStargate()" class="btn btn-default">Rebuild Stargate</button>
											<br>
											<br>
											<div id="stargateWonderProgress" class="progress">
											  <div id="stargateWonderBar" class="progress-bar progress-bar-striped active" role="progressbar"
											  aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width:0%">
											    0%
											  </div>
											</div>
										</hide>
									</span>
								</td>
							</tr>
						</table>
					</div>
				</div>
			</div>
		</div>

		<!-- Sol Center -->
		<div role="tabpanel" class="tab-pane fade" id="solCenterPage">
			<div class="container" style="width:250px; float:left">
				<table class="table table-hover text-primary no-select pointer">
					<tr id="unlockPlasmaNav" onclick="activeSolCenterTab('unlockPlasmaNav')" href="#unlockPlasmaResearch" aria-controls="unlockPlasmaResearch" role="tab" data-toggle="tab" style="height:60px;" class="sideTab">
						<td style="border:none; vertical-align:middle;" colspan="2">
							<span>
								Plasma
							</span>
						</td>
					</tr>
					<tr id="unlockEmcNav" onclick="activeSolCenterTab('unlockEmcNav')" href="#unlockEmcResearch" aria-controls="unlockEmcResearch" role="tab" data-toggle="tab" style="height:60px;" class="sideTab">
						<td style="vertical-align:middle;" colspan="2">
							<span>
								Energy-Mass Conversion
							</span>
						</td>
					</tr>
					<tr id="unlockDysonNav" onclick="activeSolCenterTab('unlockDysonNav')" href="#unlockDysonResearch" aria-controls="unlockDysonResearch" role="tab" data-toggle="tab" style="height:60px;" class="sideTab">
						<td style="vertical-align:middle;">
							<span>
								Dyson Segments
							</span>
						</td>
						<td style="vertical-align:middle;">
							<span id="dyson">0</span>
						</td>
					</tr>
				</table>
			</div>
			<div class="tab-content">
				<div id="unlockPlasmaResearch" class="tab-pane fade in" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										Plasma
									</h2>
									<span>
										Plasma being a state of extreme energy, it can be used as a storage of large amounts and provides the ability to use higher tier machines and transmutations.
									</span>
								</td>
							</tr>
							<tr id="researchPlasma">
								<td>
									<h3 class="default btn-link">
										Research
									</h3>
									<span>
										After trading resources with the Sol Center, they will give you some of their research on plasma and how to get it.
										<br>
										Costs: <span id="unlockPlasmaResearchHydrogenCost">1,500</span> Hydrogen, <span id="unlockPlasmaResearchUraniumCost">1,500</span> Uranium, <span id="unlockPlasmaResearchOilCost">15,000</span> Oil, <span id="unlockPlasmaResearchWoodCost">15,000</span> Wood.
										<br>
										<br>
										<button onclick="unlockPlasmaResearch()" class="btn btn-default">Unlock Plasma Research</button>
									</span>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="unlockEmcResearch" class="tab-pane fade in" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										Energy-Mass Conversion
									</h2>
									<span>
										EMC is a technology only dreamt about back on Earth. Here, it's a reality. You can turn energy and plasma into regular resources, or, with large amounts, you can turn it into rare ones, which you are unable to find and have to make to acquire.
									</span>
								</td>
							</tr>
							<tr id="researchEmc">
								<td>
									<h3 class="default btn-link">
										Research
									</h3>
									<span>
										To be given the blueprints for this mysterious machine, the Aliens require both types of energy.
										<br>
										Costs: <span id="unlockEmcResearchEnergyCost">75,000</span> Energy, <span id="unlockEmcResearchPlasmaCost">100</span> Plasma.
										<br>
										<br>
										<button onclick="unlockEmcResearch()" class="btn btn-default">Unlock EMC Machine Research</button>
									</span>
								</td>
							</tr>
							<tr id="emcPage" class="hidden">
								<td>
									<h3 class="default btn-link">
										Uses
									</h3>
									<p>
										This is where you can convert your energy and plasma into resources. <b>(Right click to go back X10)</b>
										<hide class="autoEmcHide hidden"><br>With Auto Emc (unlocked with rebirth), when you can automate multiple, the order will be top to bottom (always Max).</hide>
									</p>
									<div class="row">
										<div class="col-md-12">
											<label>Remaining energy: <span data-bind="energy">N/A</span></label>
											<br>
											<label>Remaining plasma: <span data-bind="plasma">N/A</span></label>
											<button class="btn btn-default pull-right" onmousedown="changeEmcAmount(event)" oncontextmenu="return false;">Converting <span id="emcButton">Max</span></button>
										</div>
									</div>
									<div class="row">
										<div class="col-md-12">
											<div class="table-responsive">
											<table class="table table-striped">
												<thead>
													<th>Cost (Energy)</th>
													<th>Material</th>
													<th>Current amount / Storage</th>
													<th></th>
													<th class="autoEmcHide hidden">Auto Emc</th>
												</thead>
												<tbody>
													<tr>
														<td><span id="uraniumEmcVal">37</span> Energy</td>
														<td><span id="uraniumEmcAmount">1</span> Uranium</td>
														<td><span id="uraniumConv"><span data-bind="uranium">N/A</span> / <span data-bind="uraniumStorage">N/A</span></span></td>
														<td><button class="btn btn-default pull-right" onclick="convertEnergy('uranium')" role="button">Convert</button></td>
														<td class="autoEmcHide hidden" style="text-align:center;"><input type="checkbox" id="uraniumAutoEmc" class="autoEmc" />
													</tr>
													<tr>
														<td><span id="lavaEmcVal">42</span> Energy</td>
														<td><span id="lavaEmcAmount">1</span> Lava</td>
														<td><span id="lavaConv"><span data-bind="lava">N/A</span> / <span data-bind="lavaStorage">N/A</span></span></td>
														<td><button class="btn btn-default pull-right" onclick="convertEnergy('lava')" role="button">Convert</button></td>
														<td class="autoEmcHide hidden" style="text-align:center;"><input type="checkbox" id="lavaAutoEmc" class="autoEmc" />
													</tr>
													<tr>
														<td><span id="oilEmcVal">3</span> Energy</td>
														<td><span id="oilEmcAmount">1</span> Oil</td>
														<td><span id="oilConv"><span data-bind="oil">N/A</span> / <span data-bind="oilStorage">N/A</span></span></td>
														<td><button class="btn btn-default pull-right" onclick="convertEnergy('oil')" role="button">Convert</button></td>
														<td class="autoEmcHide hidden" style="text-align:center;"><input type="checkbox" id="oilAutoEmc" class="autoEmc" />
													</tr>
													<tr>
														<td><span id="metalEmcVal">1</span> Energy</td>
														<td><span id="metalEmcAmount">1</span> Metal</td>
														<td><span id="metalConv"><span data-bind="metal">N/A</span> / <span data-bind="metalStorage">N/A</span></span></td>
														<td><button class="btn btn-default pull-right" onclick="convertEnergy('metal')" role="button">Convert</button></td>
														<td class="autoEmcHide hidden" style="text-align:center;"><input type="checkbox" id="metalAutoEmc" class="autoEmc" />
													</tr>
													<tr>
														<td><span id="gemEmcVal">3</span> Energy</td>
														<td><span id="gemEmcAmount">1</span> Gems</td>
														<td><span id="gemConv"><span data-bind="gem">N/A</span> / <span data-bind="gemStorage">N/A</span></span></td>
														<td><button class="btn btn-default pull-right" onclick="convertEnergy('gem')" role="button">Convert</button></td>
														<td class="autoEmcHide hidden" style="text-align:center;"><input type="checkbox" id="gemAutoEmc" class="autoEmc" />
													</tr>
													<tr>
														<td><span id="charcoalEmcVal">2</span> Energy</td>
														<td><span id="charcoalEmcAmount">1</span> Charcoal</td>
														<td><span id="charcoalConv"><span data-bind="charcoal">N/A</span> / <span data-bind="charcoalStorage">N/A</span></span></td>
														<td><button class="btn btn-default pull-right" onclick="convertEnergy('charcoal')" role="button">Convert</button></td>
														<td class="autoEmcHide hidden" style="text-align:center;"><input type="checkbox" id="charcoalAutoEmc" class="autoEmc" />
													</tr>
													<tr>
														<td><span id="woodEmcVal">1</span> Energy</td>
														<td><span id="woodEmcAmount">1</span> Wood</td>
														<td><span id="woodConv"><span data-bind="wood">N/A</span> / <span data-bind="woodStorage">N/A</span></span></td>
														<td><button class="btn btn-default pull-right" onclick="convertEnergy('wood')" role="button">Convert</button></td>
														<td class="autoEmcHide hidden" style="text-align:center;"><input type="checkbox" id="woodAutoEmc" class="autoEmc" />
													</tr>
													<tr>
														<td><span id="siliconEmcVal">23</span> Energy</td>
														<td><span id="siliconEmcAmount">1</span> Silicon</td>
														<td><span id="siliconConv"><span data-bind="silicon">N/A</span> / <span data-bind="siliconStorage">N/A</span></span></td>
														<td><button class="btn btn-default pull-right" onclick="convertEnergy('silicon')" role="button">Convert</button></td>
														<td class="autoEmcHide hidden" style="text-align:center;"><input type="checkbox" id="siliconAutoEmc" class="autoEmc" />
													</tr>
													<tr>
														<td><span id="lunariteEmcVal">15</span> Energy</td>
														<td><span id="lunariteEmcAmount">1</span> Lunarite</td>
														<td><span id="lunariteConv"><span data-bind="lunarite">N/A</span> / <span data-bind="lunariteStorage">N/A</span></span></td>
														<td><button class="btn btn-default pull-right" onclick="convertEnergy('lunarite')" role="button">Convert</button></td>
														<td class="autoEmcHide hidden" style="text-align:center;"><input type="checkbox" id="lunariteAutoEmc" class="autoEmc" />
													</tr>
													<tr>
														<td><span id="methaneEmcVal">12</span> Energy</td>
														<td><span id="methaneEmcAmount">1</span> Methane</td>
														<td><span id="methaneConv"><span data-bind="methane">N/A</span> / <span data-bind="methaneStorage">N/A</span></span></td>
														<td><button class="btn btn-default pull-right" onclick="convertEnergy('methane')" role="button">Convert</button></td>
														<td class="autoEmcHide hidden" style="text-align:center;"><input type="checkbox" id="methaneAutoEmc" class="autoEmc" />
													</tr>
													<tr>
														<td><span id="titaniumEmcVal">17</span> Energy</td>
														<td><span id="titaniumEmcAmount">1</span> Titanium</td>
														<td><span id="titaniumConv"><span data-bind="titanium">N/A</span> / <span data-bind="titaniumStorage">N/A</span></span></td>
														<td><button class="btn btn-default pull-right" onclick="convertEnergy('titanium')" role="button">Convert</button></td>
														<td class="autoEmcHide hidden" style="text-align:center;"><input type="checkbox" id="titaniumAutoEmc" class="autoEmc" />
													</tr>
													<tr>
														<td><span id="goldEmcVal">42</span> Energy</td>
														<td><span id="goldEmcAmount">1</span> Gold</td>
														<td><span id="goldConv"><span data-bind="gold">N/A</span> / <span data-bind="goldStorage">N/A</span></span></td>
														<td><button class="btn btn-default pull-right" onclick="convertEnergy('gold')" role="button">Convert</button></td>
														<td class="autoEmcHide hidden" style="text-align:center;"><input type="checkbox" id="goldAutoEmc" class="autoEmc" />
													</tr>
													<tr>
														<td><span id="silverEmcVal">42</span> Energy</td>
														<td><span id="silverEmcAmount">1</span> Silver</td>
														<td><span id="silverConv"><span data-bind="silver">N/A</span> / <span data-bind="silverStorage">N/A</span></span></td>
														<td><button class="btn btn-default pull-right" onclick="convertEnergy('silver')" role="button">Convert</button></td>
														<td class="autoEmcHide hidden" style="text-align:center;"><input type="checkbox" id="silverAutoEmc" class="autoEmc" />
													</tr>
													<tr>
														<td><span id="hydrogenEmcVal">42</span> Energy</td>
														<td><span id="hydrogenEmcAmount">1</span> Hydrogen</td>
														<td><span id="hydrogenConv"><span data-bind="hydrogen">N/A</span> / <span data-bind="hydrogenStorage">N/A</span></span></td>
														<td><button class="btn btn-default pull-right" onclick="convertEnergy('hydrogen')" role="button">Convert</button></td>
														<td class="autoEmcHide hidden" style="text-align:center;"><input type="checkbox" id="hydrogenAutoEmc" class="autoEmc" />
													</tr>
													<tr>
														<td><span id="heliumEmcVal">42</span> Energy</td>
														<td><span id="heliumEmcAmount">1</span> Helium</td>
														<td><span id="heliumConv"><span data-bind="helium">N/A</span> / <span data-bind="heliumStorage">N/A</span></span></td>
														<td><button class="btn btn-default pull-right" onclick="convertEnergy('helium')" role="button">Convert</button></td>
														<td class="autoEmcHide hidden" style="text-align:center;"><input type="checkbox" id="heliumAutoEmc" class="autoEmc" />
													</tr>
													<tr>
														<td><span id="iceEmcVal">42</span> Energy</td>
														<td><span id="iceEmcAmount">1</span> Ice</td>
														<td><span id="iceConv"><span data-bind="ice">N/A</span> / <span data-bind="iceStorage">N/A</span></span></td>
														<td><button class="btn btn-default pull-right" onclick="convertEnergy('ice')" role="button">Convert</button></td>
														<td class="autoEmcHide hidden" style="text-align:center;"><input type="checkbox" id="iceAutoEmc" class="autoEmc" />
													</tr>
													<tr id="meteoriteEMC" class="hidden">
														<td><span id="meteoriteEmcVal">42</span> Plasma</td>
														<td><span id="meteoriteEmcAmount">1</span> Meteorite</td>
														<td><span id="meteoriteConv"><span data-bind="meteorite">N/A</span> / <span data-bind="meteoriteStorage">N/A</span></span></td>
														<td><button class="btn btn-default pull-right" onclick="convertPlasma('meteorite')" role="button">Convert</button></td>
														<td class="autoEmcHide hidden" style="text-align:center;"><input type="checkbox" id="meteoriteAutoEmc" class="autoEmc" />
													</tr>
												</tbody>
											</table>
											</div>
										</div>
									</div>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="unlockDysonResearch" class="tab-pane fade in" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										Dyson Swarms and Sphere
									</h2>
									<span>
										This technology, unheard of previously, is now a reality, thanks to those in the Sol Scientific Center. The Sphere can provide much energy for millions of years, but at what cost?
										<br>
										<br>
										<b>NB: Dyson Segments' costs are based on the number you have, and are thus reset, when you use them all, or lowered if only partially spent.</b>
									</span>
								</td>
							</tr>
							<tr id="researchDyson">
								<td>
									<h3 class="default btn-link">
										Research
									</h3>
									<span>
										To understand this supreme construct, you must request the aliens' help. They require vast amounts of energy and plasma.
										<br>
										Costs: <span id="unlockDysonResearchEnergyCost">100,000</span> Energy, <span id="unlockDysonResearchPlasmaCost">10,000</span> Plasma.
										<br>
										<br>
										<button onclick="unlockDysonResearch()" class="btn btn-default">Unlock Dyson Sphere Research</button>
									</span>
								</td>
							</tr>
							<tr id="dysonPage" class="hidden">
								<td>
									<h3 class="default btn-link">
										Construction
									</h3>
									<span>
										These mega-structures cannot possibly be built in one piece. They must be created from small segments and forged together around the sun.
										<br>
										The next segment costs: <span id="dysonTitaniumCost">300,000</span> Titanium, <span id="dysonGoldCost">100,000</span> Gold, <span id="dysonSiliconCost">200,000</span> Silicon, <span id="dysonMeteoriteCost">1,000</span> Meteorite, <span id="dysonIceCost">100,000</span> Ice.
										<br>
										<br>
										<button onclick="getDyson()" class="btn btn-default">Build Dyson Segment</button>
										<button onclick="buildDysonTo(50)" class="btn btn-default">Build up to 50</button>
										<button onclick="buildDysonTo(100)" class="btn btn-default">Build up to 100</button>
										<button onclick="buildDysonTo(250)" class="btn btn-default">Build up to 250</button>
										<br>
										<br>
										<h3 class="default btn-link">
											Ring: <span id="ring">0</span>
										</h3>
										<span>
											The ring is a solar strip orbiting and circling the sun that can produce 5,000 energy per second. It requires <span id="ringRocketFuelCost">50,000</span> rocket fuel in total to put the segments in place.
											<br>
											<br>
											You currently have <span id="dysonPieces2">0</span> out of 50 Dyson Segments to create the ring.
											<br>
											<br>
										</span>
										<button onclick="buildRing()" class="btn btn-default">Construct Ring</button>
										<button onclick="buildDysonTo(50);buildRing()" class="btn btn-default">Build up to 50 and Ring</button>
										<br>
										<br>
										<hide id="dysonSphere" class="hidden">
											<h3 class="default btn-link">
												Swarm: <span id="swarm">0</span>
											</h3>
											<span>
												The swarm is an array of solar stations orbiting the sun, and once built, it can produce 25,000 energy per second. However, it requires <span id="swarmRocketFuelCost">250,000</span> rocket fuel in total to put the segments in place.
												<br>
												<br>
												You currently have <span id="dysonPieces">0</span> out of 100 Dyson Segments to create the swarm.
												<br>
												<br>
											</span>
											<button onclick="buildSwarm()" class="btn btn-default">Construct Swarm</button>
											<button onclick="buildDysonTo(100);buildSwarm()" class="btn btn-default">Build up to 100 and Swarm</button>
											<br>
											<br>
											<h3 class="default btn-link">
												Sphere: <span id="sphere">0</span> (Max. <span id="sphereMax">1</span>)
											</h3>
											<span>
												The entire sphere is a monolithic structure completely surrounding the sun. It will allow for enough energy to get interstellar travel and finally escape this Solar System. It will produce 1,000,000 energy per second.
												<br>
												Costs: <span id="sphereRocketFuelCost">1.000M</span> Rocket Fuel to assemble the segments.
												<br>
												<br>
												<span id="buildSphereInfo">You currently have <span id="dysonPieces3">0</span> out of 250 Dyson Segments to build the completed structure.</span>
												<br>
												<br>
											</span>
											<hide id="buildSphereButton">
												<button onclick="buildSphere()" class="btn btn-default">Construct Sphere</button>
												<button onclick="buildDysonTo(250);buildSphere()" class="btn btn-default">Build up to 250 and Sphere</button>
											</hide>
										</hide>
									</span>
								</td>
							</tr>
						</table>
					</div>
				</div>
			</div>
		</div>

		<!-- Machines Tab -->
		<div role="tabpanel" class="tab-pane fade in" id="machineTab">
			<div class="container" style="width:250px; float:left;">
				<table class="table table-hover text-primary no-select pointer">
					<tr href="#machineEnergyTab" aria-controls="machineEnergyTab" role="tab" data-toggle="tab" style="height:60px;" class="sideTab">
						<td style="border:none; vertical-align:middle;">
							<span>
								Energy
							</span>
						</td>
					</tr>
					<tr href="#machineEarthTab" aria-controls="machineEarthTab" role="tab" data-toggle="tab" style="height:60px;" class="sideTab">
						<td colspan="2" style="vertical-align:middle;">
							<span>
								Earth
							</span>
						</td>
					</tr>
					<tr href="#machineInnerTab" aria-controls="machineInnerTab" role="tab" data-toggle="tab" style="height:60px;" class="sideTab">
						<td colspan="2" style="vertical-align:middle;">
							<span>
								Inner Planets
							</span>
						</td>
					</tr>
					<tr href="#machineOuterTab" aria-controls="machineOuterTab" role="tab" data-toggle="tab" style="height:60px;" class="sideTab">
						<td colspan="2" style="vertical-align:middle;">
							<span>
								Outer Planets
							</span>
						</td>
					</tr>
				</table>
			</div>
			<div class="tab-content">
				<div id="machineEnergyTab" class="tab-pane fade in active" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table" style="text-align:center;">
							<tr>
								<td colspan="2"></td>
								<td colspan="3">
									<h2 class="default btn-link">
										Energy Machines
									</h2>
								</td>
								<td colspan="2"></td>
								<td colspan="2">
									<h3 class="default btn-link">
										Input/sec
									</h3>
								</td>
								<td colspan="2">
									<h3 class="default btn-link">
										Output/sec
									</h3>
								</td>
							</tr>
							<tr>
								<td colspan="2"></td>
								<td colspan="3">
									<h4 class="default btn-link">
										Plasma
									</h4>
								</td>
								<td colspan="2"></td>
								<td colspan="2">
									<h5 class="default btn-link">
										Produced: XX/sec
									</h5>
								</td>
								<td colspan="2">
									<h5 class="default btn-link">
										Used: XX/sec
									</h5>
								</td>
							</tr>
							<tr>
								<td colspan="1">
									<button class="btn btn-default">
										++
									</button>
								</td>
								<td colspan="1">
									<button class="btn btn-default">
										+
									</button>
								</td>
								<td colspan="3">
									<span>
										Tier1
									</span>
								</td>
								<td colspan="1">
									<button class="btn btn-default">
										-
									</button>
								</td>
								<td colspan="1">
									<button class="btn btn-default">
										--
									</button>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
							</tr>
							<tr>
								<td colspan="1">
									<span>
										++
									</span>
								</td>
								<td colspan="1">
									<span>
										+
									</span>
								</td>
								<td colspan="3">
									<span>
										Tier 2
									</span>
								</td>
								<td colspan="1">
									<span>
										-
									</span>
								</td>
								<td colspan="1">
									<span>
										--
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
							</tr>
							<tr>
								<td colspan="11" height="20"></td>
							</tr>
							<tr>
								<td colspan="2"></td>
								<td colspan="3">
									<h4 class="default btn-link" style="border:none;">
										Energy
									</h4>
								</td>
								<td colspan="2"></td>
								<td colspan="2">
									<h5 class="default btn-link" style="border:none;">
										Produced: XX/sec
									</h5>
								</td>
								<td colspan="2">
									<h5 class="default btn-link" style="border:none;">
										Used: XX/sec
									</h5>
								</td>
							</tr>
							<tr>
								<td colspan="1">
									<span>
										++
									</span>
								</td>
								<td colspan="1">
									<span>
										+
									</span>
								</td>
								<td colspan="3">
									<span>
										Tier 1
									</span>
								</td>
								<td colspan="1">
									<span>
										-
									</span>
								</td>
								<td colspan="1">
									<span>
										--
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
							</tr>
							<tr>
								<td colspan="1">
									<span>
										++
									</span>
								</td>
								<td colspan="1">
									<span>
										+
									</span>
								</td>
								<td colspan="3">
									<span>
										Tier 2
									</span>
								</td>
								<td colspan="1">
									<span>
										-
									</span>
								</td>
								<td colspan="1">
									<span>
										--
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
							</tr>
							<tr>
								<td colspan="1">
									<span>
										++
									</span>
								</td>
								<td colspan="1">
									<span>
										+
									</span>
								</td>
								<td colspan="3">
									<span>
										Tier 3
									</span>
								</td>
								<td colspan="1">
									<span>
										-
									</span>
								</td>
								<td colspan="1">
									<span>
										--
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
							</tr>
							<tr>
								<td colspan="1">
									<span>
										++
									</span>
								</td>
								<td colspan="1">
									<span>
										+
									</span>
								</td>
								<td colspan="3">
									<span>
										Tier 4
									</span>
								</td>
								<td colspan="1">
									<span>
										-
									</span>
								</td>
								<td colspan="1">
									<span>
										--
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
							</tr>
							<tr>
								<td colspan="1">
									<span>
										++
									</span>
								</td>
								<td colspan="1">
									<span>
										+
									</span>
								</td>
								<td colspan="3">
									<span>
										Tier 5
									</span>
								</td>
								<td colspan="1">
									<span>
										-
									</span>
								</td>
								<td colspan="1">
									<span>
										--
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
							</tr>
							<tr>
								<td colspan="1">
									<span>
										++
									</span>
								</td>
								<td colspan="1">
									<span>
										+
									</span>
								</td>
								<td colspan="3">
									<span>
										Tier 6
									</span>
								</td>
								<td colspan="1">
									<span>
										-
									</span>
								</td>
								<td colspan="1">
									<span>
										--
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
							</tr>
							<tr>
								<td colspan="11" height="20"></td>
							</tr>
							<tr>
								<td colspan="2"></td>
								<td colspan="3">
									<h4 class="default btn-link" style="border:none;">
										Uranium
									</h4>
								</td>
								<td colspan="2"></td>
								<td colspan="2">
									<h5 class="default btn-link" style="border:none;">
										Produced: XX/sec
									</h5>
								</td>
								<td colspan="2">
									<h5 class="default btn-link" style="border:none;">
										Used: XX/sec
									</h5>
								</td>
							</tr>
							<tr>
								<td colspan="1">
									<span>
										++
									</span>
								</td>
								<td colspan="1">
									<span>
										+
									</span>
								</td>
								<td colspan="3">
									<span>
										Tier 1
									</span>
								</td>
								<td colspan="1">
									<span>
										-
									</span>
								</td>
								<td colspan="1">
									<span>
										--
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
							</tr>
							<tr>
								<td colspan="1">
									<span>
										++
									</span>
								</td>
								<td colspan="1">
									<span>
										+
									</span>
								</td>
								<td colspan="3">
									<span>
										Tier 2
									</span>
								</td>
								<td colspan="1">
									<span>
										-
									</span>
								</td>
								<td colspan="1">
									<span>
										--
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
							</tr>
							<tr>
								<td colspan="1">
									<span>
										++
									</span>
								</td>
								<td colspan="1">
									<span>
										+
									</span>
								</td>
								<td colspan="3">
									<span>
										Tier 3
									</span>
								</td>
								<td colspan="1">
									<span>
										-
									</span>
								</td>
								<td colspan="1">
									<span>
										--
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
							</tr>
							<tr>
								<td colspan="1">
									<span>
										++
									</span>
								</td>
								<td colspan="1">
									<span>
										+
									</span>
								</td>
								<td colspan="3">
									<span>
										Tier 4
									</span>
								</td>
								<td colspan="1">
									<span>
										-
									</span>
								</td>
								<td colspan="1">
									<span>
										--
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
							</tr>
							<tr>
								<td colspan="11" height="20"></td>
							</tr>
							<tr>
								<td colspan="2"></td>
								<td colspan="3">
									<h4 class="default btn-link" style="border:none;">
										Lava
									</h4>
								</td>
								<td colspan="2"></td>
								<td colspan="2">
									<h5 class="default btn-link" style="border:none;">
										Produced: XX/sec
									</h5>
								</td>
								<td colspan="2">
									<h5 class="default btn-link" style="border:none;">
										Used: XX/sec
									</h5>
								</td>
							</tr>
							<tr>
								<td colspan="1">
									<span>
										++
									</span>
								</td>
								<td colspan="1">
									<span>
										+
									</span>
								</td>
								<td colspan="3">
									<span>
										Tier 1
									</span>
								</td>
								<td colspan="1">
									<span>
										-
									</span>
								</td>
								<td colspan="1">
									<span>
										--
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
							</tr>
							<tr>
								<td colspan="1">
									<span>
										++
									</span>
								</td>
								<td colspan="1">
									<span>
										+
									</span>
								</td>
								<td colspan="3">
									<span>
										Tier 2
									</span>
								</td>
								<td colspan="1">
									<span>
										-
									</span>
								</td>
								<td colspan="1">
									<span>
										--
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
							</tr>
							<tr>
								<td colspan="1">
									<span>
										++
									</span>
								</td>
								<td colspan="1">
									<span>
										+
									</span>
								</td>
								<td colspan="3">
									<span>
										Tier 3
									</span>
								</td>
								<td colspan="1">
									<span>
										-
									</span>
								</td>
								<td colspan="1">
									<span>
										--
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
							</tr>
							<tr>
								<td colspan="1">
									<span>
										++
									</span>
								</td>
								<td colspan="1">
									<span>
										+
									</span>
								</td>
								<td colspan="3">
									<span>
										Tier 4
									</span>
								</td>
								<td colspan="1">
									<span>
										-
									</span>
								</td>
								<td colspan="1">
									<span>
										--
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="machineEarthTab" class="tab-pane fade in active" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table" style="text-align:center;">
							<tr>
								<td colspan="7">
									<h2 class="default btn-link">
										Earth Machines
									</h2>
								</td>
							</tr>
							<tr>
								<td colspan="1">
									<span>
										++
									</span>
								</td>
								<td colspan="1">
									<span>
										+
									</span>
								</td>
								<td colspan="3">
									<span>
										Machine Name
									</span>
								</td>
								<td colspan="1">
									<span>
										-
									</span>
								</td>
								<td colspan="1">
									<span>
										--
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
							</tr>
							<tr>
								<td colspan="1">
									<span>
										++
									</span>
								</td>
								<td colspan="1">
									<span>
										+
									</span>
								</td>
								<td colspan="3">
									<span>
										Machine Name
									</span>
								</td>
								<td colspan="1">
									<span>
										-
									</span>
								</td>
								<td colspan="1">
									<span>
										--
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
							</tr>
							<tr>
								<td colspan="1">
									<span>
										++
									</span>
								</td>
								<td colspan="1">
									<span>
										+
									</span>
								</td>
								<td colspan="3">
									<span>
										Machine Name
									</span>
								</td>
								<td colspan="1">
									<span>
										-
									</span>
								</td>
								<td colspan="1">
									<span>
										--
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
							</tr>
							<tr>
								<td colspan="1">
									<span>
										++
									</span>
								</td>
								<td colspan="1">
									<span>
										+
									</span>
								</td>
								<td colspan="3">
									<span>
										Machine Name
									</span>
								</td>
								<td colspan="1">
									<span>
										-
									</span>
								</td>
								<td colspan="1">
									<span>
										--
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
							</tr>
							<tr>
								<td colspan="1">
									<span>
										++
									</span>
								</td>
								<td colspan="1">
									<span>
										+
									</span>
								</td>
								<td colspan="3">
									<span>
										Machine Name
									</span>
								</td>
								<td colspan="1">
									<span>
										-
									</span>
								</td>
								<td colspan="1">
									<span>
										--
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
							</tr>
							<tr>
								<td colspan="1">
									<span>
										++
									</span>
								</td>
								<td colspan="1">
									<span>
										+
									</span>
								</td>
								<td colspan="3">
									<span>
										Machine Name
									</span>
								</td>
								<td colspan="1">
									<span>
										-
									</span>
								</td>
								<td colspan="1">
									<span>
										--
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="machineInnerTab" class="tab-pane fade in active" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table" style="text-align:center;">
							<tr>
								<td colspan="7">
									<h2 class="default btn-link">
										Inner Planet Machines
									</h2>
								</td>
							</tr>
							<tr>
								<td colspan="1">
									<span>
										++
									</span>
								</td>
								<td colspan="1">
									<span>
										+
									</span>
								</td>
								<td colspan="3">
									<span>
										Machine Name
									</span>
								</td>
								<td colspan="1">
									<span>
										-
									</span>
								</td>
								<td colspan="1">
									<span>
										--
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
							</tr>
							<tr>
								<td colspan="1">
									<span>
										++
									</span>
								</td>
								<td colspan="1">
									<span>
										+
									</span>
								</td>
								<td colspan="3">
									<span>
										Machine Name
									</span>
								</td>
								<td colspan="1">
									<span>
										-
									</span>
								</td>
								<td colspan="1">
									<span>
										--
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
							</tr>
							<tr>
								<td colspan="1">
									<span>
										++
									</span>
								</td>
								<td colspan="1">
									<span>
										+
									</span>
								</td>
								<td colspan="3">
									<span>
										Machine Name
									</span>
								</td>
								<td colspan="1">
									<span>
										-
									</span>
								</td>
								<td colspan="1">
									<span>
										--
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
							</tr>
							<tr>
								<td colspan="1">
									<span>
										++
									</span>
								</td>
								<td colspan="1">
									<span>
										+
									</span>
								</td>
								<td colspan="3">
									<span>
										Machine Name
									</span>
								</td>
								<td colspan="1">
									<span>
										-
									</span>
								</td>
								<td colspan="1">
									<span>
										--
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
							</tr>
							<tr>
								<td colspan="1">
									<span>
										++
									</span>
								</td>
								<td colspan="1">
									<span>
										+
									</span>
								</td>
								<td colspan="3">
									<span>
										Machine Name
									</span>
								</td>
								<td colspan="1">
									<span>
										-
									</span>
								</td>
								<td colspan="1">
									<span>
										--
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
							</tr>
							<tr>
								<td colspan="1">
									<span>
										++
									</span>
								</td>
								<td colspan="1">
									<span>
										+
									</span>
								</td>
								<td colspan="3">
									<span>
										Machine Name
									</span>
								</td>
								<td colspan="1">
									<span>
										-
									</span>
								</td>
								<td colspan="1">
									<span>
										--
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="machineOuterTab" class="tab-pane fade in active" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table" style="text-align:center;">
							<tr>
								<td colspan="7">
									<h2 class="default btn-link">
										Outer Planet Machines
									</h2>
								</td>
							</tr>
							<tr>
								<td colspan="1">
									<span>
										++
									</span>
								</td>
								<td colspan="1">
									<span>
										+
									</span>
								</td>
								<td colspan="3">
									<span>
										Machine Name
									</span>
								</td>
								<td colspan="1">
									<span>
										-
									</span>
								</td>
								<td colspan="1">
									<span>
										--
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
							</tr>
							<tr>
								<td colspan="1">
									<span>
										++
									</span>
								</td>
								<td colspan="1">
									<span>
										+
									</span>
								</td>
								<td colspan="3">
									<span>
										Machine Name
									</span>
								</td>
								<td colspan="1">
									<span>
										-
									</span>
								</td>
								<td colspan="1">
									<span>
										--
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
							</tr>
							<tr>
								<td colspan="1">
									<span>
										++
									</span>
								</td>
								<td colspan="1">
									<span>
										+
									</span>
								</td>
								<td colspan="3">
									<span>
										Machine Name
									</span>
								</td>
								<td colspan="1">
									<span>
										-
									</span>
								</td>
								<td colspan="1">
									<span>
										--
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
							</tr>
							<tr>
								<td colspan="1">
									<span>
										++
									</span>
								</td>
								<td colspan="1">
									<span>
										+
									</span>
								</td>
								<td colspan="3">
									<span>
										Machine Name
									</span>
								</td>
								<td colspan="1">
									<span>
										-
									</span>
								</td>
								<td colspan="1">
									<span>
										--
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
							</tr>
							<tr>
								<td colspan="1">
									<span>
										++
									</span>
								</td>
								<td colspan="1">
									<span>
										+
									</span>
								</td>
								<td colspan="3">
									<span>
										Machine Name
									</span>
								</td>
								<td colspan="1">
									<span>
										-
									</span>
								</td>
								<td colspan="1">
									<span>
										--
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
							</tr>
							<tr>
								<td colspan="1">
									<span>
										++
									</span>
								</td>
								<td colspan="1">
									<span>
										+
									</span>
								</td>
								<td colspan="3">
									<span>
										Machine Name
									</span>
								</td>
								<td colspan="1">
									<span>
										-
									</span>
								</td>
								<td colspan="1">
									<span>
										--
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
								<td colspan="2">
									<span>
										XX
									</span>
								</td>
							</tr>
						</table>
					</div>
				</div>
			</div>
			<div class="tab-content">
				<div id="machineTier2Tab" class="tab-pane fade in active" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
							</tr>
						</table>
					</div>
				</div>
			</div>
			<div class="tab-content">
				<div id="machineTier3Tab" class="tab-pane fade in active" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
							</tr>
						</table>
					</div>
				</div>
			</div>
			<div class="tab-content">
				<div id="machineTier4Tab" class="tab-pane fade in active" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
							</tr>
						</table>
					</div>
				</div>
			</div>
		</div>

		<!-- More Tab -->
		<div role="tabpanel" class="tab-pane fade" id="more">
			<div class="container" style="width:250px; float:left">
				<table class="table table-hover text-primary no-select pointer">
					<tr href="#savingTab" aria-controls="savingTab" role="tab" data-toggle="tab" style="height:60px;" class="sideTab">
						<td style="border:none; vertical-align:middle;">
							<span>
								Saving
							</span>
						</td>
					</tr>
					<tr href="#uiTab" aria-controls="uiTab" role="tab" data-toggle="tab" style="height:60px;" class="sideTab">
						<td style="vertical-align:middle;">
							<span>
								Graphics Options
							</span>
						</td>
					</tr>
					<tr href="#statsTab" aria-controls="statsTab" role="tab" data-toggle="tab" style="height:60px;" class="sideTab">
						<td colspan="2" style="vertical-align:middle;">
							<span>
								Stats
							</span>
						</td>
					</tr>
					<tr href="#achievementsTab" aria-controls="achievementsTab" role="tab" data-toggle="tab" style="height:60px;" class="sideTab" onclick="tabClicked('achievements')">
						<td colspan="2" style="vertical-align:middle;">
							<span>
								Achievements
							</span>
							<span id="achievementsTabGlyph" class="pull-right glyphicon glyphicon-exclamation-sign hidden"></span>
						</td>
					</tr>
					<tr href="#donatingTab" aria-controls="donatingTab" role="tab" data-toggle="tab" style="height:60px;" class="sideTab">
						<td colspan="2" style="vertical-align:middle;">
							<span>
								Donating
							</span>
						</td>
					</tr>
					<tr href="#linksTab" aria-controls="linksTab" role="tab" data-toggle="tab" style="height:60px;" class="sideTab">
						<td colspan="2" style="vertical-align:middle;">
							<span>
								Links
							</span>
						</td>
					</tr>
				</table>
			</div>
			<div class="tab-content">
				<div id="savingTab" class="tab-pane fade in" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										Saving
									</h2>
									<span>
										This is where you can change how your game is saved.
									</span>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Auto-Save Duration
									</h3>
									<span>
										Change how long the game waits before auto-saving again.
									</span>
									<br>
									<div class="btn-group" data-toggle="buttons">
										<label class="btn btn-default active">
											<input type="radio" name="autosaves" id="30secs" autocomplete="off" checked> 30 Seconds
										</label>
										<label class="btn btn-default">
											<input type="radio" name="autosaves" id="2mins" autocomplete="off"> 2 Minutes
										</label>
										<label class="btn btn-default">
											<input type="radio" name="autosaves" id="10mins" autocomplete="off"> 10 Minutes
										</label>
										<label class="btn btn-default">
											<input type="radio" name="autosaves" id="off" autocomplete="off"> Off
										</label>
									</div>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Manual Saving
									</h3>
									<button id="saveButton" onclick="Game.save()" class="btn btn-primary" style="margin-top:5px; height:80%; vertical-align: middle">
										<span style="color:white;">
											Save
										</span>
									</button>
									<button id="loadButton" onclick="Game.load()" class="btn btn-primary" style="margin-top:5px; margin-left:2px; height:80%; vertical-align: middle;">
										<span style="color:white;">
											Load
										</span>
									</button>
									<br>
									<button onclick="Game.deleteSave()" class="btn btn-danger" style="margin-top:5px; height:80%; display:inline-block; vertical-align: middle">
										<span style="color:white;">
											Hard Reset
										</span>
									</button>
									<span>
										Warning: This is non-reversible! Be cautious. There is a confirmation to delete your save.
									</span>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Import/Export
									</h3>
									<button class="btn btn-primary" onclick="Game.export()">Export Save</button>
									<button class="btn btn-primary" onclick="Game.import()">Import Save</button>
									<button class="btn btn-primary" id="copyExport">Copy Text Below To Clipboard</button>
									<br>
									<textarea id="impexpField" style="margin-top:20px; width:300px; height:100px;"></textarea>
									<br>
									<span>
										Copy and paste this onto a file somewhere so that you can import it into the game at a later date.
										<br>
										You can also use this to create multiple 'savefiles' of the game by storing multiple instances separately.
										<br>
										Make sure there are no spaces at the end when importing.
									</span>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="uiTab" class="tab-pane fade in" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										Graphics Options
									</h2>
									<span>
										You can enable settings to change the interface here.
									</span>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Themes
									</h3>
				                	<select id="themeSelector" ng-model="player.current_theme" class="ng-valid ng-touched ng-dirty ng-valid-parse">
				                		<option value="base">Base</option>
				                		<option value="cerulean">Cerulean</option>
				                		<option value="cyborg">Cyborg</option>
				                		<option value="cyborg2">Cyborg V2</option>
				                		<option value="darkly">Darkly</option>
				                		<option value="flatly">Flatly</option>
				                		<option value="paper">Paper</option>
				                		<option value="readable">Readable</option>
				                		<option value="simplex">Simplex</option>
				                		<option value="solar">Solar</option>
				                		<option value="spacelab">Spacelab</option>
				                		<option value="united">United</option>
				                	</select>
				                </td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Notation
									</h3>
									<select id="formatSelector" ng-model="player.current_theme" class="ng-valid ng-touched ng-dirty ng-valid-parse">
										<option value="raw">Raw</option>
										<option value="rounded">Rounded</option>
										<option value="name">Name</option>
										<option value="shortName" selected>Short Name</option>
										<option value="shortName2">Short Name (2)</option>
										<option value="scientific">Scientific (*10^n)</option>
										<option value="scientific2">Scientific (E+n)</option>
									</select>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Change Company Name
									</h3>
				                	<div class="checkbox">
										<input type="text" name="companyName"> Company <input type="submit" value="Submit">
									</div>
				                </td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Text Decoration
									</h3>
				                	<div class="checkbox">
										<label><input id="boldEnabled" type="checkbox" value="">Red Costs: Bold</label>
									</div>
				                </td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Autosave Notifications
									</h3>
				                	<div class="checkbox">
										<label><input id="saveNotifsEnabled" type="checkbox" value="">Autosave Notifications</label>
									</div>
				                </td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Notifications (Not Autosave)
									</h3>
				                	<div class="checkbox">
										<label><input id="notificationsEnabled" type="checkbox" value="">Screen Notifications</label>
									</div>
				                </td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Sidebar Height Compression (Not fully implemented)
									</h3>
				                	<div class="checkbox">
										<label><input id="sidebarCompressed" type="checkbox" value="">Compress Rows in Sidebar to Decrease White Space</label>
									</div>
				                </td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Gain Buttons
									</h3>
				                	<div class="checkbox">
										<label><input id="gainButtonsHidden" type="checkbox" value="">Gain Buttons Hidden</label>
									</div>
				                </td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Coloured Destroy Buttons
									</h3>
				                	<div class="checkbox">
										<label><input id="redDestroyButtons" type="checkbox" value="">Destroy Buttons Red</label>
									</div>
				                </td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Hide Completed Tabs
									</h3>
				                	<div class="checkbox">
										<label><input id="hideCompleted" type="checkbox" value="">Hidden</label>
									</div>
				                </td>
							</tr>
						</table>
					</div>
				</div>
				<div id="statsTab" class="tab-pane fade in" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										Stats
									</h2>
									<span>
										This is where you can see your progress in a table with each aspect laid out for you to see.
										<br>
										Warning: your stats will not have been added if they were implemented after you achieved them.
										<br>
										<b>NB: Stats are really buggy at the moment. They are often not accurate and this is because of layers of updates changing them while you guys progressed through the game. They will be fixed on your first prestige by starting over. After the first prestige, you will keep a total stat and a 'this run' stat.</b>
									</span>
								</td>
							</tr>
							<tr>
								<td id="statisticContent"></td>
							</tr>
						</table>
					</div>
				</div>
				<div id="achievementsTab" class="tab-pane fade in" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										Achievements
									</h2>
									<span>
										This is where you can see your rank and all of your achievements.<br>XP = Star position: [1,2,3,4,5]
									</span>
								</td>
								<td id="rankContent" style="border:none;"></td>
							</tr>
							<tr colspan="2" id="rankBarContent"></tr>
							<tr id="achievementContent"></tr>
						</table>
					</div>
				</div>
				<div id="donatingTab" class="tab-pane fade in" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										Donating
									</h2>
									<span>
										I didn't like the intrusiveness of ads on this game and felt that getting people to pay for an in-game boost wouldn't bode well in the community as it makes the game feel like a freemium or pay-to-win game.
										<br>
										However, I like the donation system because there is nothing forcing you to donate other than out of the goodness of people's hearts. If you like the game and want more content faster, I would be happy to put more time towards this game if I felt that it is paying off.
										<br>
										I have a <a href="https://www.paypal.me/Sparticle999" target="_blank" class="btn-link" style="font-size:16px;">PayPal Link</a> if you want to help out and speed the game's progress along.
										<br>
										And a <a href="https://www.patreon.com/sparticle999" target="_blank" class="btn-link" style="font-size:16px;">Patreon Page</a>, if you want to have continued support for Space Company development, and for an impact on the game yourself.
									</span>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="linksTab" class="tab-pane fade in" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										Links
									</h2>
									<span style="font-size:18px">
										These are links to everything Space Company outside of the game itself.
										<br>
										<br>
										<a href="http://reddit.com/r/spacecompany">Sub-Reddit</a>
										<br>
										<a href="http://www.kongregate.com">Kongregate: </a><a href="http://www.kongregate.com/games/sparticle999/space-company">Game</a>
										<br>
										<a href="http://github.com">GitHub: </a><a href="https://github.com/sparticle999/SpaceCompany/">Source Code</a>
										<br>
										<a href="https://plaza.dsolver.ca/">The Plaza: </a><a href="https://plaza.dsolver.ca/games/space-company">Game</a>
										<br>
										<a href="https://github.com/sparticle999/SpaceCompany#changelog">Changelog</a> / <a href="https://www.reddit.com/r/SpaceCompany/wiki/futureplans">Future Plans</a>
										<br>
										<a href="https://www.reddit.com/r/SpaceCompany/wiki/index">Wiki</a>
										<br>
										<a href="https://www.discord.gg/277CMCx">Discord</a>
									</span>
								</td>
							</tr>
						</table>
					</div>
				</div>
			</div>
		</div>

		<!-- Help -->
		<div role="tabpanel" class="tab-pane fade in" id="help">
			<div class="container" style="width:250px; float:left;">
				<table class="table table-hover text-primary no-select pointer">
					<tr href="#startingTab" aria-controls="startingTab" role="tab" data-toggle="tab" style="height:60px;" class="sideTab">
						<td style="border:none; vertical-align:middle;">
							<span>
								Getting Started
							</span>
						</td>
					</tr>
					<tr href="#faqTab" aria-controls="faqTab" role="tab" data-toggle="tab" style="height:60px;" class="sideTab">
						<td colspan="2" style="vertical-align:middle;">
							<span>
								FAQ
							</span>
						</td>
					</tr>
					<tr href="#creditsTab" aria-controls="creditsTab" role="tab" data-toggle="tab" style="height:60px;" class="sideTab">
						<td colspan="2" style="vertical-align:middle;">
							<span>
								Credits
							</span>
						</td>
					</tr>
				</table>
			</div>
			<div class="tab-content">
				<div id="startingTab" class="tab-pane fade in active" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										Beginner's Guide
									</h2>
									<span>
										This guide will get you from starting the game to activating your first wonder and will be helpful to grasp everything you need to do. You can refer to this guide at anytime while playing by clicking the Help/FAQ tab in the top right and selecting the Getting Started sub-tab.
									</span>
									<br>
									<br>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										First Steps
									</h3>
									<span>
										The first thing you can do is start gathering resources. To do this, click the Resources tab near the top left of the screen. This will bring you to the resources display. You can click any of the resources to access its interface, where you can mine the resource yourself by clicking, or you can hire people or build machines to gain those resources for you. While you can hire workers for all three resources, it is recommended to prioritise Metal and Wood in the early stages of the game.
									</span>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Research
									</h3>
									<span>
										To unlock research, you must purchase a metal miner, costing 10 Metal and 5 Wood. This is the first step to idle automation. The Research tab is where you can build laboratories to produce science for you, and also where you can discover and research new technologies to further help you through the game.
										<br>
										<br>
										The first technology you can research is 'Storage Upgrades', which allows you to build storages to hold more of each type of resource. This is necessary when building machines and other tools costs more than 50 of a resource.

										You can also research 'Basic Energy Production', which opens up the world of power and advanced machines to help you get resources even faster.
									</span>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Balancing Resources &amp; Energy
									</h3>
									<span>
										This game has different amounts output by each machine. This can make balancing your resources hard, especially your Energy, Charcoal and Wood as they are consumed by other machines. As at tip, prioritise which resources you should build machines for first - in most cases Metal - and produce the 2 Energy required for a heavy drill. Don't upgrade everything to machines at once as you will end up with an Energy deficit (this is bad as the machines won't work without Energy). Build up your Charcoal to build engines or increase the number of solar panels to counter this.
									</span>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Solar System
									</h3>
									<span>
										Well, it isn't called Space Company for nothing. The first thing needed to unlock inter-planetary exploration is to build a rocket. This is the first large goal that you should aim for as a target. To build a rocket, you need a lot of resources, which you most likely need to use advanced machines to get without taking an extremely long time. Secondly, to launch it requires 20 rocket fuel, which can be made in chemical plants. These require a large amount of Oil and Charcoal to produce - 20 of each per second per plant. Once you have 20 Rocket Fuel and have built a rocket, press the launch button to unlock exploration around the solar system and new technologies and ways to get resources.
									</span>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										More
									</h3>
									<span>
										There are more in-depth explanations and a wider variety of documentation on the <a href="https://reddit.com/r/spacecompany/wiki/">Reddit Wiki</a>. Feel free to explore these to learn more about the game, or discover things yourself by playing the game.
									</span>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="faqTab" class="tab-pane fade in" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										Frequently Asked Questions
									</h2>
									<span>
										These are some of the questions that appear the most or that need the most clarifying.
									</span>
								</td>
							</tr>
							<tr>
								<td>
									<h4>
										How does the military level work?
									</h4>
									<span>
										The format used is •,••,•••,I,II,III,X,XX,XXX,XXXX,XXXXX,XXXXXX. It is based on the military army hierarchy found on wikipedia at <a href="https://en.wikipedia.org/wiki/Military_organization#Army_hierarchy">https://en.wikipedia.org/wiki/Military_organization#Army_hierarchy</a>.
									</span>
								</td>
							</tr>
							<tr>
								<td>
									<h4>
										I found a bug! What should I do?
									</h4>
									<span>
										If you go to my <a class="btn-link pointer" target="_blank" href="https://github.com/sparticle999/SpaceCompany/issues">Github Page</a>, which you can also find in 'More' Tab, click <b>New Issue</b> and submit it there.
										<br>
										Alternatively, you can post/comment about it in <a href="http://reddit.com/r/spacecompany">r/SpaceCompany</a>, <a class="btn-link pointer" target="_blank" href="https://www.reddit.com/message/compose/">message me</a> on reddit, sending it to Sparticle999, or go to my <a class="btn-link pointer" target="_blank" href="https://discord.gg/cjQBgPW">discord channel</a> and tell me about it there.
									</span>
								</td>
							</tr>
							<tr>
								<td>
									<h4>
										I have a suggestion for the game
									</h4>
									<span>
										Similarly to the above, you can go to my <a class="btn-link pointer" target="_blank" href="https://github.com/sparticle999/SpaceCompany/issues">Github Page</a>, and post a <b>New Issue</b>; you can <a class="btn-link pointer" target="_blank" href="https://www.reddit.com/message/compose/">message me</a> on reddit, put it in a comment on any post (or make a post) at <a class="btn-link pointer" target="_blank" href="https://www.reddit.com/r/spacecompany/">r/SpaceCompany</a> or go to my <a class="btn-link pointer" target="_blank" href="https://discord.gg/cjQBgPW">discord channel</a> and tell me about it there.
									</span>
								</td>
							</tr>
							<tr>
								<td>
									<h4>
										When will the game be updated next?
									</h4>
									<span>
										Well, this isn't a full-time project for me. This means that although I will try to work on it as much as I can, progress can be slow. However, I will endeavour to release updates as often as I can and fix any bugs as quickly as possible.
									</span>
								</td>
							</tr>
							<tr>
								<td>
									<h4>
										Help, I'm stuck!
									</h4>
									<span>
										Have you checked all of the tabs to see if there is anything new? Maybe the guide has something about it? If not, feel free to ask me either on reddit or post it as an issue on github if you think there is a problem with the game.
									</span>
								</td>
							</tr>
							<tr>
								<td>
									<h4>
										What does this do?
									</h4>
									<span>
										It will probably be self-explanatory, be explained in the description or in the wiki. If not, tell me and I will add it to the item, wiki or to the Frequently Asked Questions page.
									</span>
								</td>
							</tr>
							<tr>
								<td>
									<h4>
										I want to help. How do I do that?
									</h4>
									<span>
										Help is always appreciated! You can look over my code in <a href="http://github.com/sparticle999/SpaceCompany">Github</a> and fork it to make changes. Send me a push request, submit an issue or just tell me in reddit and I'll most likely be happy to add it in and give credit where due.
									</span>
								</td>
							</tr>
							<tr>
								<td>
									<h4>
										Does donating give me anything?
									</h4>
									<span>
										No. I didn't want to make this game pay-to-win and make people feel that they had to pay money to get further in the game because this makes it less appealing to those who don't want to donate.
									</span>
								</td>
							</tr>
							<tr>
								<td>
									<h4>
										Where else can I find the game?
									</h4>
									<span>
										You can find the game on any of these sites:
										<br>
										<a target="_blank" href="http://reddit.com">Reddit: </a><a target="_blank" href="https://www.reddit.com/r/spacecompany">r/spacecompany</a>
										<br>
										<a target="_blank" href="http://github.com">GitHub: </a><a target="_blank" href="https://github.com/sparticle999/SpaceCompany/">Game Page</a>
										<br>
										<a target="_blank" href="https://plaza.dsolver.ca/">The Plaza: </a><a target="_blank" href="https://plaza.dsolver.ca/games/space-company">Game</a>
									</span>
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div id="creditsTab" class="tab-pane fade in" style="margin-left:10px; float:left;">
					<div class="container" style="max-width:800px;">
						<table class="table">
							<tr>
								<td style="border:none;">
									<h2 class="default btn-link">
										About
									</h2>
									<span>
										This game is made by me, Sparticle999, as a project to improve my skills at making games and to see what I could add to the incremental gaming world.
										<br>
										The content in this game is not always accurate. This is because if it were accurate, many of the elements on other planets would be the same as Earth's, such as metal on Mars (iron oxide). Thus, I have had to make up some facts to help my game stay diverse. I apologise for any infuriation caused.
									</span>
								</td>
							</tr>
							<tr>
								<td style="border:none;">
									<h3 class="default btn-link">
										Tools Used
									</h3>
									<span>
										<a class="pointer btn-link" target="_blank" href="http://getbootstrap.com/">Bootstrap</a> was central to the base design of the game, and until I decide to create an interface for myself, either when I feel that it is necessary, or when people ask me to change it, this will be the general look for a while.
										<br>
										<br>
										<a class="pointer btn-link" target="_blank" href="http://bootswatch.com/">Bootswatch</a> is the tool that I used to add the different themes to the game. If anyone wants more themes from this website, I would be happy to add them in.
										<br>
										<br>
										Most of the images are from <a class="pointer btn-link" target="_blank" href="https://www.shutterstock.com/">Shutterstock</a> and retextured and edited by myself to fit the theme of this game.
									</span>
								</td>
							</tr>
							<tr>
								<td>
									<h3 class="default btn-link">
										Thank you to all Donators and my supporters on Patreon!
									</h3>
									<h4>Patreon:</h4>
									<ul>
										<li>Tom Paine</li>
										<li>Gandalfwg</li>
									</ul>
									<h4>Paypal Donators:</h4>
									<ul>
										<li>Steve Chahine</li>
										<li></li>
									</ul>
								</td>
							</tr>
						</table>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>

</body>
<script type="text/javascript" src="lib/jquery.min.js"></script>
<script type="text/javascript" src="lib/bootstrap.min.js"></script>
<script type="text/javascript" src="lib/lz-string.min.js"></script>
<script type="text/javascript" src="lib/handlebars.min.js"></script>
<script type="text/javascript" src="lib/pnotify.custom.min.js"></script>

<!-- DEBUG -->
<script type="text/javascript" src="variable.js"></script>

<script type="text/javascript" src="game.js"></script>
<script type="text/javascript" src="utils.js"></script>
<script type="text/javascript" src="updates.js"></script>
<script type="text/javascript" src="achievements.js"></script>
<script type="text/javascript" src="data/achievementsData.js"></script>
<script type="text/javascript" src="constants.js"></script>
<script type="text/javascript" src="statistics.js"></script>
<script type="text/javascript" src="resource.js"></script>
<script type="text/javascript" src="data/resourceData.js"></script>
<script type="text/javascript" src="building.js"></script>
<script type="text/javascript" src="data/buildingData.js"></script>
<script type="text/javascript" src="tech.js"></script>
<script type="text/javascript" src="data/techData.js"></script>
<script type="text/javascript" src="data/interstellarData.js"></script>
<script type="text/javascript" src="data/starData.js"></script>
<script type="text/javascript" src="settings.js"></script>

<script type="text/javascript" src="interstellar.js"></script>
<script type="text/javascript" src="star.js"></script>
<script type="text/javascript" src="rocketParts.js"></script>
<script type="text/javascript" src="rocket.js"></script>

<script type="text/javascript" src="stargaze.js"></script>
<script type="text/javascript" src="data/stargazeData.js"></script>

<script type="text/javascript" src="ui/databoundElement.js"></script>
<script type="text/javascript" src="ui/gameTabUI.js"></script>
<script type="text/javascript" src="ui/resourceObserver.js"></script>
<script type="text/javascript" src="ui/interstellarUI.js"></script>
<script type="text/javascript" src="ui/achievementUI.js"></script>
<script type="text/javascript" src="ui/statisticUI.js"></script>
<script type="text/javascript" src="ui/stargazeUI.js"></script>
<script type="text/javascript" src="ui/resourceUI.js"></script>
<script type="text/javascript" src="ui/techUI.js"></script>
<script type="text/javascript" src="ui/legacyUI.js"></script>

<script type="text/javascript" src="core.js"></script>
<script type="text/javascript" src="notification.js"></script>
<script type="text/javascript" src="saving.js"></script>
<script type="text/javascript" src="resources.js"></script>
<script type="text/javascript" src="science.js"></script>
<script type="text/javascript" src="solarSystem.js"></script>
<script type="text/javascript" src="wonder.js"></script>
<script type="text/javascript" src="solCenter.js"></script>

<!-- RELEASE -->
<!--<script type="text/javascript" src="SpaceCompany.min.js"></script>-->

</html>
